wok-current annotate libconfig/receipt @ rev 13836
epdfview: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 15:14:06 2013 +0100 (2013-01-07) |
parents | |
children | 6c3718ca17b6 |
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@13040 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13040 | 9 WEB_SITE="http://www.hyperrealm.com/libconfig/" |
pascal@13040 | 10 WGET_URL="$WEB_SITE$TARBALL" |
pascal@13040 | 11 BUILD_DEPENDS="" |
pascal@13040 | 12 DEPENDS="" |
pascal@13040 | 13 |
pascal@13040 | 14 # Rules to configure and make the package. |
pascal@13040 | 15 compile_rules() |
pascal@13040 | 16 { |
pascal@13040 | 17 cd $src |
pascal@13040 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@13040 | 19 --mandir=/usr/share/man \ |
pascal@13040 | 20 --disable-cxx \ |
pascal@13040 | 21 $CONFIGURE_ARGS && |
pascal@13040 | 22 make && |
pascal@13040 | 23 make DESTDIR=$DESTDIR install |
pascal@13040 | 24 } |
pascal@13040 | 25 |
pascal@13040 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13040 | 27 genpkg_rules() |
pascal@13040 | 28 { |
pascal@13040 | 29 mkdir -p $fs/usr/lib |
pascal@13040 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@13040 | 31 } |