wok-next annotate libconfig/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e7a485521d6a
children
rev   line source
al@19811 1 # SliTaz package receipt v2.
pascal@13040 2
pascal@13040 3 PACKAGE="libconfig"
al@20905 4 VERSION="1.7.2"
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@20905 14 BUILD_DEPENDS="automake libtool texinfo"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@13040 16
al@20575 17 compile_rules() {
al@20905 18 #? # See: https://github.com/hyperrealm/libconfig/issues/47
al@20905 19 # rm lib/scanner.c
al@19811 20
al@20905 21 # mkdir build
al@20905 22 # cd build
al@20905 23 # cmake .. &&
al@20905 24 #
al@20905 25 #
al@20905 26 autoreconf -vi &&
al@20575 27 ./configure $CONFIGURE_ARGS &&
al@20575 28 fix libtool &&
al@20575 29 make &&
al@20575 30 make install
pascal@13040 31 }
pascal@13040 32
al@20575 33 genpkg_rules() {
al@19811 34 case $PACKAGE in
al@19811 35 libconfig) copy @std;;
al@19811 36 *-dev) copy @dev;;
al@19811 37 esac
pascal@13040 38 }