misc/cwiid: Fix /usr/include permissions.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
51eb62e376
commit
71bcc8bbbb
|
@ -6,6 +6,11 @@
|
|||
|
||||
# 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}
|
||||
|
||||
|
@ -104,6 +109,7 @@ autoreconf -if
|
|||
--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
|
||||
|
@ -117,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
|
||||
|
|
Loading…
Reference in New Issue