wok-next view libconfuse/receipt @ rev 19638

Up tcl, tk, py3k, iso-codes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 13 02:23:31 2017 +0200 (2017-02-13)
parents 873c4ae3f6db
children 0c247ee1a841
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 }