wok-next view libconfig/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
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 }