wok annotate littleutils/receipt @ rev 18286
Up: tazusb(181), tazpkg(828)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 11 01:19:57 2015 +0300 (2015-08-11) |
parents | |
children | 86790a278e70 |
rev | line source |
---|---|
pascal@17411 | 1 # SliTaz package receipt. |
pascal@17411 | 2 |
pascal@17411 | 3 PACKAGE="littleutils" |
pascal@17411 | 4 VERSION="1.0.32" |
pascal@17411 | 5 CATEGORY="misc" |
pascal@17411 | 6 SHORT_DESC="Image optimizers, archive recompressors, file property tools ..." |
pascal@17411 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17411 | 8 LICENSE="GPL3" |
pascal@17411 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@17411 | 10 WEB_SITE="http://sourceforge.net/projects/littleutils/" |
pascal@17411 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17411 | 12 |
pascal@17411 | 13 DEPENDS="bash perl" |
pascal@17411 | 14 |
pascal@17411 | 15 # Rules to configure and make the package. |
pascal@17411 | 16 compile_rules() |
pascal@17411 | 17 { |
pascal@17411 | 18 sed -i '/stdalign/d' littleutils/*.c |
pascal@17411 | 19 ./configure --prefix=/usr \ |
pascal@17411 | 20 --sysconfdir=/etc \ |
pascal@17411 | 21 $CONFIGURE_ARGS && |
pascal@17411 | 22 make && |
pascal@17411 | 23 make DESTDIR=$DESTDIR install |
pascal@17411 | 24 } |
pascal@17411 | 25 |
pascal@17411 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17411 | 27 genpkg_rules() |
pascal@17411 | 28 { |
pascal@17411 | 29 mkdir -p $fs/usr |
pascal@17411 | 30 cp -a $install/usr/bin $fs/usr |
pascal@17411 | 31 cp -a $install/usr/lib $fs/usr |
pascal@17411 | 32 } |