mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/unifdef: Updated for version 2.12.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
cfe156c6b7
commit
5f890907a2
2 changed files with 10 additions and 9 deletions
|
@ -7,7 +7,7 @@
|
|||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
PRGNAM=unifdef
|
||||
VERSION=${VERSION:-2.11}
|
||||
VERSION=${VERSION:-2.12}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -47,16 +47,17 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
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 {} \;
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
make CFLAGS="$SLKCFLAGS" DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
|
||||
|
||||
# Test suite fails 1 of the 90 tests. The test itself is
|
||||
# broken: it expects to be run as a non-root user.
|
||||
[ "${TESTSUITE:-no}" = "yes" ] && rm -f tests/outeperm.* && make test
|
||||
|
||||
# manual install = less code than hacking 'make install'
|
||||
install -s -m0755 $PRGNAM $PKG/usr/bin
|
||||
install -m0755 ${PRGNAM}all.sh $PKG/usr/bin/${PRGNAM}all
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="unifdef"
|
||||
VERSION="2.11"
|
||||
VERSION="2.12"
|
||||
HOMEPAGE="http://dotat.at/prog/unifdef/"
|
||||
DOWNLOAD="http://dotat.at/prog/unifdef/unifdef-2.11.tar.xz"
|
||||
MD5SUM="337053fd8a7d9ab3adf5e50f88af95b7"
|
||||
DOWNLOAD="http://dotat.at/prog/unifdef/unifdef-2.12.tar.xz"
|
||||
MD5SUM="ae8c0b3b4c43c1f6bc5f32412a820818"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue