|
@ -38,12 +38,13 @@ |
|
|
# 11/09/2024: Opdated to version 1.14.4 |
|
|
# 11/09/2024: Opdated to version 1.14.4 |
|
|
# 20/11/2024: Updated to version 1.14.5 |
|
|
# 20/11/2024: Updated to version 1.14.5 |
|
|
# 10/06/2025: updated to version 1.16.1 |
|
|
# 10/06/2025: updated to version 1.16.1 |
|
|
|
|
|
# 25/07/2025: updated to version 1.16.2 |
|
|
#-----------------------------------------------------------------------------------------# |
|
|
#-----------------------------------------------------------------------------------------# |
|
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=chafa |
|
|
PRGNAM=chafa |
|
|
VERSION=${VERSION:-1.16.1} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-1.16.2} |
|
|
BUILD=${BUILD:-1} |
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
@ -92,9 +93,9 @@ cd $PRGNAM-$VERSION |
|
|
chown -R root:root . |
|
|
chown -R root:root . |
|
|
find -L . \ |
|
|
find -L . \ |
|
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |
|
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |
|
|
-o -perm 511 \) -exec chmod 755 {} \; -o \ |
|
|
|
|
|
|
|
|
-o -perm 511 \) -exec chmod 755 {} \+ -o \ |
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
\( -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 {} \+ |
|
|
|
|
|
|
|
|
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \ |
|
|
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \ |
|
|
CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)" \ |
|
|
CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)" \ |
|
@ -120,7 +121,7 @@ make install DESTDIR=$PKG |
|
|
/sbin/ldconfig |
|
|
/sbin/ldconfig |
|
|
|
|
|
|
|
|
# Don't ship .la files: |
|
|
# Don't ship .la files: |
|
|
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la |
|
|
|
|
|
|
|
|
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la |
|
|
|
|
|
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true |
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true |
|
|