wok-next annotate libconfuse/receipt @ rev 19132
pcmanfm: add tazpkg-get action
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun May 15 02:07:14 2016 +0200 (2016-05-15) |
parents | 873c4ae3f6db |
children | 0c247ee1a841 |
rev | line source |
---|---|
mallory@2718 | 1 # SliTaz package receipt. |
mallory@2718 | 2 |
mallory@2718 | 3 PACKAGE="libconfuse" |
mallory@2718 | 4 SOURCE="confuse" |
slaxemulator@6564 | 5 VERSION="2.7" |
mallory@2718 | 6 CATEGORY="misc" |
mallory@2718 | 7 SHORT_DESC="Configuration file parser library." |
mallory@2718 | 8 MAINTAINER="mallory@sweetpeople.org" |
pascal@15472 | 9 LICENSE="ISC" |
mallory@2718 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
mallory@2718 | 11 WEB_SITE="http://www.nongnu.org/confuse/" |
slaxemulator@6564 | 12 WGET_URL="http://savannah.nongnu.org/download/$SOURCE/$TARBALL" |
mallory@2718 | 13 |
pascal@15472 | 14 DEPENDS="" |
pascal@15472 | 15 |
mallory@2718 | 16 # Rules to configure and make the package. |
mallory@2718 | 17 compile_rules() |
mallory@2718 | 18 { |
mallory@2718 | 19 cd $src |
mallory@2718 | 20 ./configure \ |
mallory@2718 | 21 --prefix=/usr \ |
mallory@2718 | 22 --infodir=/usr/share/info \ |
mallory@2718 | 23 --mandir=/usr/share/man \ |
pascal@4296 | 24 $CONFIGURE_ARGS |
pascal@4296 | 25 sed -i 's/ -Werror//' src/Makefile |
pascal@15472 | 26 make && make DESTDIR=$DESTDIR install |
mallory@2718 | 27 } |
mallory@2718 | 28 |
mallory@2718 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2718 | 30 genpkg_rules() |
mallory@2718 | 31 { |
mallory@2718 | 32 mkdir -p $fs/usr/lib |
pascal@15472 | 33 cp -a $install/usr/include $fs/usr |
pascal@15472 | 34 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pascal@15472 | 35 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
mallory@2718 | 36 } |
mallory@2718 | 37 |