diff options
Diffstat (limited to 'misc/cwiid/cwiid.SlackBuild')
-rw-r--r-- | misc/cwiid/cwiid.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild index 7f79bfe7fe..d8ddb2befe 100644 --- a/misc/cwiid/cwiid.SlackBuild +++ b/misc/cwiid/cwiid.SlackBuild @@ -2,10 +2,15 @@ # Slackware build script for cwiid -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20220410 bkw: BUILD=2 +# - *really* fix permissions on header. +# - re-add --disable-ldconfig. configure claims it's unsupported, but +# it actually works. + # 20210910 bkw: # - Upgrade to 0.6.91_2 (Debian's 0.6.91-2). # - Actually apply SLKCFLAGS. @@ -31,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cwiid VERSION=${VERSION:-0.6.91_2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -92,16 +97,19 @@ for i in $( cat debian/patches/series ); do [ -e $i ] && patch -p1 < debian/patches/$i done +# re-enable this when needed +#patch -p1 < $CWD/python310.patch + autoreconf -if ./configure \ - --disable-ldconfig \ --prefix=/usr \ --libdir=$LIBDIR \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \ + --disable-ldconfig \ --build=$ARCH-slackware-linux # configure script ignores CFLAGS in the env. Can't use CFLAGS @@ -115,8 +123,8 @@ strip $PKG/usr/bin/* \ $PKGLIB/$PRGNAM/plugins/*.so \ $PKGLIB/python*/site-packages/*.so -# Header gets installed +x, fix -chmod 644 $PKG/etc/cwiid/wminput/* +# Header and configs get installed +x, fix +chmod 644 $PKG/etc/cwiid/wminput/* $PKG/usr/include/cwiid.h # Remove static library, configure doesn't accept --disable-static rm -f $PKGLIB/libcwiid.a |