wok annotate libconfig/receipt @ rev 18232
linld: add tobzimage (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 23 12:19:27 2015 +0200 (2015-07-23) |
parents | 6c3718ca17b6 |
children | 9717b08dd673 |
rev | line source |
---|---|
pascal@13040 | 1 # SliTaz package receipt. |
pascal@13040 | 2 |
pascal@13040 | 3 PACKAGE="libconfig" |
pascal@13040 | 4 VERSION="1.4.8" |
pascal@13040 | 5 CATEGORY="misc" |
pascal@13040 | 6 SHORT_DESC="C/C++ Configuration File Library" |
pascal@13040 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
pascal@13040 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13040 | 10 WEB_SITE="http://www.hyperrealm.com/libconfig/" |
pascal@13040 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pascal@15472 | 12 |
pascal@13040 | 13 BUILD_DEPENDS="" |
pascal@13040 | 14 DEPENDS="" |
pascal@13040 | 15 |
pascal@13040 | 16 # Rules to configure and make the package. |
pascal@13040 | 17 compile_rules() |
pascal@13040 | 18 { |
pascal@13040 | 19 cd $src |
pascal@13040 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@13040 | 21 --mandir=/usr/share/man \ |
pascal@13040 | 22 --disable-cxx \ |
pascal@13040 | 23 $CONFIGURE_ARGS && |
pascal@13040 | 24 make && |
pascal@15475 | 25 make DESTDIR=$DESTDIR -j 1 install |
pascal@13040 | 26 } |
pascal@13040 | 27 |
pascal@13040 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13040 | 29 genpkg_rules() |
pascal@13040 | 30 { |
pascal@13040 | 31 mkdir -p $fs/usr/lib |
pascal@15472 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13040 | 33 } |