wok-next annotate libconfuse/receipt @ rev 19675
Update some build dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 24 12:53:44 2017 +0200 (2017-03-24) |
parents | 6c3718ca17b6 |
children | e545e47edffa |
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 |
al@19675 | 14 BUILD_DEPENDS="gettext" |
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 |