wok-next diff attr/receipt @ rev 20552
jpeg: fix libjpeg
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 03:58:23 2018 +0300 (2018-04-06) |
parents | 4550df96633d |
children | 835b3b8ce6ac |
line diff
1.1 --- a/attr/receipt Sat May 27 16:55:17 2017 +0300 1.2 +++ b/attr/receipt Fri Apr 06 03:58:23 2018 +0300 1.3 @@ -3,23 +3,21 @@ 1.4 PACKAGE="attr" 1.5 VERSION="2.4.47" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes" 1.8 +SHORT_DESC="Commands for manipulating filesystem extended attributes" 1.9 MAINTAINER="rcx@zoominternet.net" 1.10 LICENSE="GPL2" 1.11 WEB_SITE="http://savannah.nongnu.org/projects/attr" 1.12 -HOST_ARCH="i486 arm" 1.13 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/attr.html" 1.14 1.15 TARBALL="$PACKAGE-$VERSION.src.tar.gz" 1.16 -WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" 1.17 +WGET_URL="http://download.savannah.gnu.org/releases/attr/$TARBALL" 1.18 1.19 +BUILD_DEPENDS_arm=" " 1.20 BUILD_DEPENDS="autoconf automake m4 libtool gettext coreutils-operations" 1.21 -BUILD_DEPENDS_arm=" " 1.22 SPLIT="attr-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - rm /bin/rpm 1.28 +compile_rules() { 1.29 + rm /bin/rpm >/dev/null 1.30 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in 1.31 1.32 ./configure \ 1.33 @@ -27,21 +25,23 @@ 1.34 --disable-static \ 1.35 $CONFIGURE_ARGS && 1.36 make && 1.37 - make install install-lib install-dev DIST_ROOT=$DESTDIR 1.38 + make install install-lib install-dev DIST_ROOT=$DESTDIR || return 1 1.39 1.40 mkdir -p $install/lib 1.41 mv $install/usr/lib/libattr.so.* $install/lib 1.42 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \ 1.43 $install/usr/lib/libattr.so 1.44 + 1.45 find $install -type f \( -name '*.so*' -o -name '*.la' \) \ 1.46 -exec chmod 755 \{\} \; 1.47 } 1.48 1.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 -genpkg_rules() 1.51 -{ 1.52 +genpkg_rules() { 1.53 case $PACKAGE in 1.54 - attr) copy @std ;; 1.55 - attr-dev) copy @dev ;; 1.56 + attr) 1.57 + copy @std 1.58 + TAGS="LFS" 1.59 + ;; 1.60 + *-dev) copy @dev;; 1.61 esac 1.62 }