wok-next view libconfig/receipt @ rev 20553

Up cookutils (1045), tazpkg (963)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 13:36:51 2018 +0300 (2018-04-06)
parents 2859e75177ae
children 0ec6086e21d6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libconfig"
4 VERSION="1.6"
5 CATEGORY="misc"
6 SHORT_DESC="C/C++ Configuration File Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://hyperrealm.com/libconfig/libconfig.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/hyperrealm/libconfig/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="texinfo"
15 SPLIT="libconfig-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # See: https://github.com/hyperrealm/libconfig/issues/47
21 rm lib/scanner.c
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libconfig) copy @std;;
31 *-dev) copy @dev;;
32 esac
33 }