diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-05 10:40:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-05 10:40:59 +0700 |
commit | a4db56a3c945ff90191c832bea6a22a250ae8584 (patch) | |
tree | 7681a8181a948377e55500dcb6880b8bb2e632e1 /network | |
parent | 846f7f25c822b0d49fe536c69788e912a81202cc (diff) |
network/roger-router: Specify OUTPUT + LIBDIRSUFFIX variable.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/roger-router/roger-router.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/network/roger-router/roger-router.SlackBuild b/network/roger-router/roger-router.SlackBuild index b78deaf476c05..9d87ccfd1224b 100644 --- a/network/roger-router/roger-router.SlackBuild +++ b/network/roger-router/roger-router.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=roger-router VERSION=${VERSION:-1.8.11} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,7 +68,7 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz @@ -78,7 +78,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; ./autogen.sh CXXFLAGS="$SLKCFLAGS" \ @@ -112,17 +112,15 @@ sed \ -i $PKG/usr/share/roger/install-fax.sh # content of /usr/share/roger/install-fax.sh -mkdir -p $PKG/var/spool/roger/ $PKG/usr/lib/cups/backend/ +mkdir -p $PKG/var/spool/roger/ $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/ chown lp:fax $PKG/var/spool/roger chmod 2770 $PKG/var/spool/roger/ -cp $PKG/usr/share/roger/roger-cups $PKG/usr/lib/cups/backend/ -chown root:root $PKG/usr/lib/cups/backend/roger-cups -chmod 0755 $PKG/usr/lib/cups/backend/roger-cups +cp $PKG/usr/share/roger/roger-cups $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/ +chown root:root $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/roger-cups +chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/roger-cups mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |