wok-next annotate 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
rev   line source
al@19811 1 # SliTaz package receipt v2.
pascal@13040 2
pascal@13040 3 PACKAGE="libconfig"
al@19811 4 VERSION="1.6"
pascal@13040 5 CATEGORY="misc"
pascal@13040 6 SHORT_DESC="C/C++ Configuration File Library"
pascal@13040 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15472 8 LICENSE="LGPL2.1"
al@19811 9 WEB_SITE="http://hyperrealm.com/libconfig/libconfig.html"
al@19811 10
pascal@13040 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19811 12 WGET_URL="https://github.com/hyperrealm/libconfig/archive/v$VERSION.tar.gz"
pascal@15472 13
al@19811 14 BUILD_DEPENDS="texinfo"
al@19811 15 SPLIT="libconfig-dev"
pascal@13040 16
pascal@13040 17 # Rules to configure and make the package.
pascal@13040 18 compile_rules()
pascal@13040 19 {
al@19811 20 # See: https://github.com/hyperrealm/libconfig/issues/47
al@19811 21 rm lib/scanner.c
al@19811 22
al@19811 23 ./configure $CONFIGURE_ARGS && make && make install
pascal@13040 24 }
pascal@13040 25
pascal@13040 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13040 27 genpkg_rules()
pascal@13040 28 {
al@19811 29 case $PACKAGE in
al@19811 30 libconfig) copy @std;;
al@19811 31 *-dev) copy @dev;;
al@19811 32 esac
pascal@13040 33 }