wok-6.x view libconfuse/receipt @ rev 20491

libzim-dev: add libzim.pc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 23:06:17 2018 +0200 (2018-10-27)
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 }