wok-current view libconfig/receipt @ rev 21159

Up vcdimager (2.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 31 13:48:00 2019 +0200 (2019-03-31)
parents 9717b08dd673
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfig"
4 VERSION="1.7.2"
5 CATEGORY="misc"
6 SHORT_DESC="C/C++ Configuration File Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.hyperrealm.com/libconfig/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/hyperrealm/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="automake texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 autoreconf
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-cxx \
26 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make DESTDIR=$DESTDIR -j 1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }