wok-next view libconfuse/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 6c3718ca17b6
children e545e47edffa
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 BUILD_DEPENDS="gettext"
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 }