wok-next diff xfsprogs/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
parents | 0e8dadf052b9 |
children | f48456621a9d |
line diff
1.1 --- a/xfsprogs/receipt Thu Jul 27 00:56:44 2017 +0300 1.2 +++ b/xfsprogs/receipt Sat Jun 23 17:39:19 2018 +0300 1.3 @@ -14,31 +14,29 @@ 1.4 BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev" 1.5 SPLIT="xfsprogs-dev" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 +compile_rules() { 1.11 # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/xfsprogs.html 1.12 rm /bin/rpm # busybox rpm useless here 1.13 + 1.14 + fix libtool && 1.15 make \ 1.16 DEBUG=-DNDEBUG \ 1.17 INSTALL_USER=root \ 1.18 INSTALL_GROUP=root \ 1.19 LOCAL_CONFIGURE_OPTIONS="--enable-readline" && 1.20 make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install && 1.21 - make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev && 1.22 + make PKG_DOC_DIR=/usr/share/doc/xfsprogs-$VERSION install-dev || return 1 1.23 1.24 rm -fv \ 1.25 $install/usr/lib/libhandle.a \ 1.26 $install/lib/libhandle.a \ 1.27 $install/lib/libhandle.la \ 1.28 - $install/lib/libhandle.so && 1.29 - ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so && 1.30 + $install/lib/libhandle.so 1.31 + ln -sfv ../../lib/libhandle.so.1 $install/usr/lib/libhandle.so 1.32 sed -i "s@libdir='/lib@libdir='/usr/lib@" $install/usr/lib/libhandle.la 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 +genpkg_rules() { 1.39 case $PACKAGE in 1.40 xfsprogs) 1.41 copy @std