wok annotate attr/receipt @ rev 19753
thunar-vfs, xfce4-mixer; update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 22:29:24 2017 +0100 (2017-02-18) |
parents | 7f39549720b8 |
children | a4d9cd4fcd65 |
rev | line source |
---|---|
rcx@3647 | 1 # SliTaz package receipt. |
rcx@3647 | 2 |
rcx@3647 | 3 PACKAGE="attr" |
devl547@17648 | 4 VERSION="2.4.47" |
rcx@3647 | 5 CATEGORY="system-tools" |
rcx@3647 | 6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes." |
rcx@3647 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15379 | 8 LICENSE="GPL2" |
al@14789 | 9 WEB_SITE="http://savannah.nongnu.org/projects/attr/" |
al@19275 | 10 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
rcx@6060 | 11 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL" |
pankso@12819 | 12 HOST_ARCH="i486 arm" |
pankso@12819 | 13 |
pankso@12819 | 14 DEPENDS="glibc-base" |
pankso@12819 | 15 BUILD_DEPENDS="autoconf automake m4 libtool gettext" |
pankso@12819 | 16 |
pankso@12819 | 17 # When cross compiling auto-tools, gettext and m4 build system are used. |
pankso@12819 | 18 case "$ARCH" in |
pankso@12819 | 19 arm) BUILD_DEPENDS="" ;; |
pankso@12819 | 20 esac |
rcx@3647 | 21 |
rcx@3647 | 22 # Rules to configure and make the package. |
rcx@3647 | 23 compile_rules() |
rcx@3647 | 24 { |
gokhlayeh@7893 | 25 # Need bash sh to compile |
gokhlayeh@7893 | 26 mv /bin/sh /bin/sh.bak |
gokhlayeh@7893 | 27 ln -s /bin/bash /bin/sh |
gokhlayeh@7893 | 28 |
al@19269 | 29 # No need to use rpm |
devl547@17664 | 30 rm /bin/rpm |
devl547@17664 | 31 |
devl547@17664 | 32 export INSTALL_USER=root INSTALL_GROUP=root |
devl547@17664 | 33 |
devl547@17664 | 34 ./configure $CONFIGURE_ARGS && |
devl547@17664 | 35 make && |
gokhlayeh@8216 | 36 make install install-lib install-dev DIST_ROOT=$DESTDIR |
devl547@17664 | 37 |
gokhlayeh@7893 | 38 mv -f /bin/sh.bak /bin/sh |
rcx@3647 | 39 } |
rcx@3647 | 40 |
rcx@3647 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3647 | 42 genpkg_rules() |
rcx@3647 | 43 { |
pascal@17665 | 44 mkdir -p $fs/usr/lib |
al@14789 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14789 | 46 cp -a $install/usr/bin $fs/usr |
al@14792 | 47 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \; |
rcx@3647 | 48 } |