wok-6.x annotate attr/receipt @ rev 8050
Improve attr&acl receipts by replacing strange slackware seds by the use of DIST_ROOT; acl includes are now going at the right place.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 20 21:38:00 2011 +0100 (2011-01-20) |
parents | f05cb4af3af0 |
children | da6b40f47996 |
rev | line source |
---|---|
rcx@3647 | 1 # SliTaz package receipt. |
rcx@3647 | 2 |
rcx@3647 | 3 PACKAGE="attr" |
rcx@6060 | 4 VERSION="2.4.44" |
rcx@3647 | 5 CATEGORY="system-tools" |
rcx@3647 | 6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes." |
rcx@3647 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3647 | 8 DEPENDS="glibc-base" |
rcx@3647 | 9 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext" |
rcx@6060 | 10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz" |
rcx@3647 | 11 WEB_SITE="http://savannah.nongnu.org/projects/attr/" |
rcx@6060 | 12 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL" |
rcx@3647 | 13 |
rcx@3647 | 14 # Rules to configure and make the package. |
rcx@3647 | 15 compile_rules() |
rcx@3647 | 16 { |
rcx@3647 | 17 cd $src |
rcx@3647 | 18 |
gokhlayeh@7893 | 19 # Need bash sh to compile |
gokhlayeh@7893 | 20 mv /bin/sh /bin/sh.bak |
gokhlayeh@7893 | 21 ln -s /bin/bash /bin/sh |
gokhlayeh@7893 | 22 |
rcx@3747 | 23 # Configure is included in Makefile |
gokhlayeh@7893 | 24 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" && |
gokhlayeh@8050 | 25 make install install-lib install-dev DIST_ROOT=$PWD/_pkg |
gokhlayeh@7893 | 26 } || { mv -f /bin/sh.bak /bin/sh; return 1; } |
gokhlayeh@7893 | 27 |
gokhlayeh@7893 | 28 mv -f /bin/sh.bak /bin/sh |
rcx@3647 | 29 } |
rcx@3647 | 30 |
rcx@3647 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3647 | 32 genpkg_rules() |
rcx@3647 | 33 { |
gokhlayeh@8050 | 34 mkdir -p $fs/lib $fs/usr/lib |
rcx@3747 | 35 cp -a $_pkg/lib/*.so* $fs/lib |
gokhlayeh@8050 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3647 | 37 cp -a $_pkg/usr/bin $fs/usr |
rcx@3647 | 38 } |