wok-current annotate attr/receipt @ rev 11849

busybox, uclibc-cross-compiler-i486: update bdeps again....
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 09:08:44 2012 +0100 (2012-02-27)
parents da6b40f47996
children 3768ab6ce780
rev   line source
rcx@3647 1 # SliTaz package receipt.
rcx@3647 2
rcx@3647 3 PACKAGE="attr"
slaxemulator@10128 4 VERSION="2.4.46"
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@8216 25 make install install-lib install-dev DIST_ROOT=$DESTDIR
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 }