wok-next annotate attr/receipt @ rev 20209
cinepaint: add png patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 12:45:00 2017 +0100 (2017-11-04) |
parents | 8da249b2c8d7 |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19735 | 1 # SliTaz package receipt v2. |
rcx@3647 | 2 |
rcx@3647 | 3 PACKAGE="attr" |
devl547@17648 | 4 VERSION="2.4.47" |
rcx@3647 | 5 CATEGORY="system-tools" |
al@19735 | 6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes" |
rcx@3647 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15379 | 8 LICENSE="GPL2" |
al@19570 | 9 WEB_SITE="http://savannah.nongnu.org/projects/attr" |
pankso@12819 | 10 HOST_ARCH="i486 arm" |
pankso@12819 | 11 |
al@19570 | 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
al@19570 | 13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
al@19570 | 14 |
al@19570 | 15 BUILD_DEPENDS="autoconf automake m4 libtool gettext coreutils-operations" |
al@19735 | 16 BUILD_DEPENDS_arm=" " |
al@19735 | 17 SPLIT="attr-dev" |
rcx@3647 | 18 |
rcx@3647 | 19 # Rules to configure and make the package. |
rcx@3647 | 20 compile_rules() |
rcx@3647 | 21 { |
al@19570 | 22 rm /bin/rpm |
al@19570 | 23 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in |
gokhlayeh@7893 | 24 |
al@19570 | 25 ./configure \ |
al@19570 | 26 --bindir=/bin \ |
al@19570 | 27 --disable-static \ |
al@19570 | 28 $CONFIGURE_ARGS && |
devl547@17664 | 29 make && |
gokhlayeh@8216 | 30 make install install-lib install-dev DIST_ROOT=$DESTDIR |
al@19570 | 31 |
al@19570 | 32 mkdir -p $install/lib |
al@19570 | 33 mv $install/usr/lib/libattr.so.* $install/lib |
al@19570 | 34 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \ |
al@19570 | 35 $install/usr/lib/libattr.so |
al@19570 | 36 find $install -type f \( -name '*.so*' -o -name '*.la' \) \ |
al@19570 | 37 -exec chmod 755 \{\} \; |
rcx@3647 | 38 } |
rcx@3647 | 39 |
rcx@3647 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3647 | 41 genpkg_rules() |
rcx@3647 | 42 { |
al@19735 | 43 case $PACKAGE in |
al@19735 | 44 attr) copy @std ;; |
al@19735 | 45 attr-dev) copy @dev ;; |
al@19735 | 46 esac |
rcx@3647 | 47 } |