wok view attr/receipt @ rev 18449

newsbeuter: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 21:35:58 2015 +0200 (2015-09-26)
parents 3efd144781f8
children 7f39549720b8
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.47"
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 # No need to use rpm
32 rm /bin/rpm
34 export INSTALL_USER=root INSTALL_GROUP=root
36 ./configure $CONFIGURE_ARGS &&
37 make &&
38 make install install-lib install-dev DIST_ROOT=$DESTDIR
40 mv -f /bin/sh.bak /bin/sh
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
50 }