wok-current view libconfuse/receipt @ rev 19856

Up: tazweb 1.11
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 16 23:07:56 2017 +0100 (2017-03-16)
parents 873c4ae3f6db
children 5a22e9bbefe0
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfuse"
4 SOURCE="confuse"
5 VERSION="2.7"
6 CATEGORY="misc"
7 SHORT_DESC="Configuration file parser library."
8 MAINTAINER="mallory@sweetpeople.org"
9 LICENSE="ISC"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.nongnu.org/confuse/"
12 WGET_URL="http://savannah.nongnu.org/download/$SOURCE/$TARBALL"
14 DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS
25 sed -i 's/ -Werror//' src/Makefile
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/include $fs/usr
34 cp -a $install/usr/lib/*.*a $fs/usr/lib
35 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
36 }