wok annotate attr/receipt @ rev 15057

codiad: use config.example.php
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:34:38 2013 +0000 (2013-08-13)
parents a7b54d88ae54
children 2a5cc8208d36
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"
al@14789 8 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
rcx@6060 9 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
rcx@6060 10 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL"
pankso@12819 11 HOST_ARCH="i486 arm"
pankso@12819 12
pankso@12819 13 DEPENDS="glibc-base"
pankso@12819 14 BUILD_DEPENDS="autoconf automake m4 libtool gettext"
pankso@12819 15
pankso@12819 16 # When cross compiling auto-tools, gettext and m4 build system are used.
pankso@12819 17 case "$ARCH" in
pankso@12819 18 arm) BUILD_DEPENDS="" ;;
pankso@12819 19 esac
rcx@3647 20
rcx@3647 21 # Rules to configure and make the package.
rcx@3647 22 compile_rules()
rcx@3647 23 {
rcx@3647 24 cd $src
rcx@3647 25
gokhlayeh@7893 26 # Need bash sh to compile
gokhlayeh@7893 27 mv /bin/sh /bin/sh.bak
gokhlayeh@7893 28 ln -s /bin/bash /bin/sh
gokhlayeh@7893 29
rcx@3747 30 # Configure is included in Makefile
gokhlayeh@7893 31 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
gokhlayeh@8216 32 make install install-lib install-dev DIST_ROOT=$DESTDIR
gokhlayeh@7893 33 } || { mv -f /bin/sh.bak /bin/sh; return 1; }
gokhlayeh@7893 34
gokhlayeh@7893 35 mv -f /bin/sh.bak /bin/sh
rcx@3647 36 }
rcx@3647 37
rcx@3647 38 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3647 39 genpkg_rules()
rcx@3647 40 {
gokhlayeh@8050 41 mkdir -p $fs/lib $fs/usr/lib
al@14789 42 cp -a $install/lib/*.so* $fs/lib
al@14789 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14789 44 cp -a $install/usr/bin $fs/usr
al@14792 45 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
rcx@3647 46 }