diff options
Diffstat (limited to 'ham/qrq/qrq.SlackBuild')
-rw-r--r-- | ham/qrq/qrq.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ham/qrq/qrq.SlackBuild b/ham/qrq/qrq.SlackBuild index 9e5d29212d7f..4f1ef7b35426 100644 --- a/ham/qrq/qrq.SlackBuild +++ b/ham/qrq/qrq.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=qrq VERSION=0.3.0 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,9 +71,11 @@ find -L . \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/bin -mkdir -p $PKG/usr/share/man/man1 +mkdir -p $PKG/usr/man/man1 -sed -i "s|^CFLAGS\:=\$(CFLAGS)|CFLAGS:=$SLKCFLAGS|" Makefile +sed -i Makefile \ + -e "s|^CFLAGS\:=\$(CFLAGS)|CFLAGS:=$SLKCFLAGS|" \ + -e "s|/share/man|/man|g" make USE_PA=NO USE_CA=NO OSX_PLATFORM=NO OSX_BUNDLE=NO make install DESTDIR=$PKG/usr USE_PA=NO USE_CA=NO OSX_PLATFORM=NO OSX_BUNDLE=NO @@ -81,10 +83,11 @@ make install DESTDIR=$PKG/usr USE_PA=NO USE_CA=NO OSX_PLATFORM=NO OSX_BUNDLE=NO find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -#cp -a CHANGELOG INSTALL LICENSE NOTES samples $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; +gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |