wok-next annotate 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
rev   line source
al@19735 1 # SliTaz package receipt v2.
rcx@3647 2
rcx@3647 3 PACKAGE="attr"
al@20894 4 VERSION="2.4.48"
rcx@3647 5 CATEGORY="system-tools"
al@20436 6 SHORT_DESC="Commands for manipulating filesystem extended attributes"
rcx@3647 7 MAINTAINER="rcx@zoominternet.net"
pascal@15379 8 LICENSE="GPL2"
al@19570 9 WEB_SITE="http://savannah.nongnu.org/projects/attr"
al@20894 10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/attr.html"
pankso@12819 11
al@20894 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20436 13 WGET_URL="http://download.savannah.gnu.org/releases/attr/$TARBALL"
al@19570 14
al@20436 15 BUILD_DEPENDS_arm=" "
al@19570 16 BUILD_DEPENDS="autoconf automake m4 libtool gettext coreutils-operations"
al@19735 17 SPLIT="attr-dev"
rcx@3647 18
al@20436 19 compile_rules() {
al@20436 20 rm /bin/rpm >/dev/null
gokhlayeh@7893 21
al@19570 22 ./configure \
al@19570 23 --bindir=/bin \
al@19570 24 --disable-static \
al@19570 25 $CONFIGURE_ARGS &&
al@20569 26 fix libtool &&
devl547@17664 27 make &&
al@20894 28 make DESTDIR=$DESTDIR install || return 1
al@19570 29
al@19570 30 mkdir -p $install/lib
al@19570 31 mv $install/usr/lib/libattr.so.* $install/lib
al@19570 32 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \
al@19570 33 $install/usr/lib/libattr.so
rcx@3647 34 }
rcx@3647 35
al@20436 36 genpkg_rules() {
al@19735 37 case $PACKAGE in
al@20436 38 attr)
al@20436 39 copy @std
al@20436 40 TAGS="LFS"
al@20436 41 ;;
al@20436 42 *-dev) copy @dev;;
al@19735 43 esac
rcx@3647 44 }