summaryrefslogtreecommitdiff
path: root/desktop/light
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/light')
-rw-r--r--desktop/light/light.SlackBuild20
-rw-r--r--desktop/light/light.info6
2 files changed, 18 insertions, 8 deletions
diff --git a/desktop/light/light.SlackBuild b/desktop/light/light.SlackBuild
index 888e98d8b1..4ffac0e3f6 100644
--- a/desktop/light/light.SlackBuild
+++ b/desktop/light/light.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=light
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,9 +79,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "s|^\(CFLAGS=\).*\(-I.*\)|\1$SLKCFLAGS \2| # preserves -I
- s|^\(MANDIR=.*\)/share\(.*\)|\1\2| # strips /share
- " Makefile
+./autogen.sh
+
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -91,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/light/light.info b/desktop/light/light.info
index fec4d65ec2..cf074e8360 100644
--- a/desktop/light/light.info
+++ b/desktop/light/light.info
@@ -1,8 +1,8 @@
PRGNAM="light"
-VERSION="1.0"
+VERSION="1.2.2"
HOMEPAGE="http://haikarainen.github.io/light/"
-DOWNLOAD="https://github.com/haikarainen/light/archive/v1.0/light-1.0.tar.gz"
-MD5SUM="65ee0fb2ede482d64a53c38271b2eeb6"
+DOWNLOAD="https://github.com/haikarainen/light/archive/v1.2.2/light-1.2.2.tar.gz"
+MD5SUM="e6738f3617c1ff84d43f725b26866308"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""