wok-next view libconfig/receipt @ rev 20607

perdition: up 2.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 15:57:59 2018 +0300 (2018-04-19)
parents 46d3691a4f80
children e7a485521d6a
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 compile_rules() {
18 # See: https://github.com/hyperrealm/libconfig/issues/47
19 rm lib/scanner.c
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libconfig) copy @std;;
30 *-dev) copy @dev;;
31 esac
32 }