wok-next annotate attr/receipt @ rev 13820

thunderbird: limit long (was create > 100G !)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 21:18:32 2013 +0100 (2013-01-06)
parents 7817ac3c0699
children a7b54d88ae54
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@6060 8 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
rcx@3647 9 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
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
rcx@3747 42 cp -a $_pkg/lib/*.so* $fs/lib
gokhlayeh@8050 43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3647 44 cp -a $_pkg/usr/bin $fs/usr
rcx@3647 45 }