wok-next view attr/receipt @ rev 20958

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 06 04:28:48 2018 +0300 (2018-09-06)
parents 835b3b8ce6ac
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="attr"
4 VERSION="2.4.48"
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 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/attr.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/attr/$TARBALL"
15 BUILD_DEPENDS_arm=" "
16 BUILD_DEPENDS="autoconf automake m4 libtool gettext coreutils-operations"
17 SPLIT="attr-dev"
19 compile_rules() {
20 rm /bin/rpm >/dev/null
22 ./configure \
23 --bindir=/bin \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make DESTDIR=$DESTDIR install || return 1
30 mkdir -p $install/lib
31 mv $install/usr/lib/libattr.so.* $install/lib
32 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \
33 $install/usr/lib/libattr.so
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 attr)
39 copy @std
40 TAGS="LFS"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }