wok annotate littleutils/receipt @ rev 20026
Up zstd (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 17 12:50:54 2017 +0200 (2017-08-17) |
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 } |