diff options
Diffstat (limited to 'network/connman/connman.SlackBuild')
-rw-r--r-- | network/connman/connman.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/network/connman/connman.SlackBuild b/network/connman/connman.SlackBuild index ec67d53da2..10d804c18d 100644 --- a/network/connman/connman.SlackBuild +++ b/network/connman/connman.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh -# + # Slackware build script for connman # Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com @@ -25,7 +25,7 @@ PRGNAM=connman VERSION=1.26 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,20 +64,18 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION -# use correct group for Slackware -patch -p1 -i ${CWD}/netdev.patch - -# Configure +# configure CFLAGS=${SCFLAGS} CXXFLAGS=${SCXXFLAGS} LIBS=-lncurses \ ./configure \ --prefix=/usr \ - --libdir=/usr/${LIBDIRSUFFIX} \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-nmcompat \ --enable-polkit \ --enable-openvpn \ + --enable-client \ --build=${ARCH}-slackware-linux make OPTS="$SLKCFLAGS" @@ -95,6 +93,8 @@ install -m644 AUTHORS COPYING ChangeLog INSTALL README TODO doc/*.txt \ mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}/api mv ${PKG}/usr/doc/${PRGNAM}-${VERSION}/{*-api.txt,api/} +cp -av $PWD/client/connmanctl $PKG/usr/sbin/ + find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |