wok-next view attr/receipt @ rev 20255
Up linux-cloop (4.12) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 14:55:55 2017 +0100 (2017-11-07) |
parents | 8da249b2c8d7 |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="autoconf automake m4 libtool gettext coreutils-operations"
16 BUILD_DEPENDS_arm=" "
17 SPLIT="attr-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 rm /bin/rpm
23 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
25 ./configure \
26 --bindir=/bin \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install install-lib install-dev DIST_ROOT=$DESTDIR
32 mkdir -p $install/lib
33 mv $install/usr/lib/libattr.so.* $install/lib
34 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \
35 $install/usr/lib/libattr.so
36 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
37 -exec chmod 755 \{\} \;
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 attr) copy @std ;;
45 attr-dev) copy @dev ;;
46 esac
47 }