wok-current view attr/receipt @ rev 15702
Up: udevil (0.4.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 15:11:57 2013 +0100 (2013-12-22) |
parents | a5f6371c3254 |
children | 9be2dfe2fe72 |
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.46"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
11 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="autoconf automake m4 libtool gettext"
17 # When cross compiling auto-tools, gettext and m4 build system are used.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
27 # Need bash sh to compile
28 mv /bin/sh /bin/sh.bak
29 ln -s /bin/bash /bin/sh
31 # Configure is included in Makefile
32 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
33 make install install-lib install-dev DIST_ROOT=$DESTDIR
34 } || { mv -f /bin/sh.bak /bin/sh; return 1; }
36 mv -f /bin/sh.bak /bin/sh
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/lib $fs/usr/lib
43 cp -a $install/lib/*.so* $fs/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
47 }