wok-current view libconfig/receipt @ rev 20486

perl: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 26 10:09:53 2018 +0200 (2018-10-26)
parents 6c3718ca17b6
children 9717b08dd673
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfig"
4 VERSION="1.4.8"
5 CATEGORY="misc"
6 SHORT_DESC="C/C++ Configuration File Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.hyperrealm.com/libconfig/"
11 WGET_URL="$WEB_SITE$TARBALL"
13 BUILD_DEPENDS=""
14 DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-cxx \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR -j 1 install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }