From b41542cb62b09efc514f26a9ee8dc68f496c1a22 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 18 May 2008 14:57:48 +0000 Subject: Updated for 2.1.3 --- slang/build/slang.SlackBuild | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'slang/build') diff --git a/slang/build/slang.SlackBuild b/slang/build/slang.SlackBuild index 80700396..abfa369d 100755 --- a/slang/build/slang.SlackBuild +++ b/slang/build/slang.SlackBuild @@ -4,10 +4,10 @@ if [ "$TMP" = "" ]; then TMP=/tmp fi -VERSION=${VERSION:-2.0.7} -DOCV=${DOCV:-2.0.4} +VERSION=${VERSION:-2.1.3} +#DOCV=${DOCV:-2.0.4} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-1alien} if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mcpu=i686" @@ -31,18 +31,19 @@ chown -R root:root . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --mandir=/usr/man \ --sysconfdir=/etc \ --includedir=/usr/include \ - $ARCH-slackware-linux + --build=$ARCH-slackware-linux make -j4 || exit 1 make install DESTDIR=$PKG make -j4 elf || exit 1 make install-elf DESTDIR=$PKG +make -j4 static || exit 1 +make install-static DESTDIR=$PKG chmod 755 $PKG/usr/lib/libslang.so.$VERSION -# --disable-static doesn't always work, but this is guaranteed: -#rm -f $PKG/usr/lib/*.a ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -71,16 +72,16 @@ rmdir $PKG/usr/share/doc mkdir -p $PKG/usr/doc/slang-$VERSION cp -a \ - COPYING INSTALL.pc INSTALL.unx INSTALL.vms NEWS README UPGRADE.txt \ + COPYING* INSTALL.pc INSTALL.unx INSTALL.vms NEWS README UPGRADE.txt \ $PKG/usr/doc/slang-$VERSION # Add some additional documentation: -tar xjvf $CWD/slangdoc-$DOCV.tar.bz2 -chown -R root:root doc -cp -a doc/html $PKG/usr/doc/slang-$VERSION +#tar xjvf $CWD/slangdoc-$DOCV.tar.bz2 +#chown -R root:root doc +#cp -a doc/html $PKG/usr/doc/slang-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -makepkg -l y -c n $TMP/slang-${VERSION}_static-$ARCH-$BUILD.tgz +makepkg -l y -c n $TMP/slang-${VERSION}_static-${ARCH}-${BUILD}.tgz -- cgit v1.2.3-65-gdbad