wok-current view libconfig/receipt @ rev 25035

Up libqcow (20210419)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 18:11:13 2022 +0000 (2022-05-20)
parents 5ea0ce1cecc0
children 45e49949a208
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfig"
4 VERSION="1.7.3"
5 CATEGORY="misc"
6 SHORT_DESC="C/C++ Configuration File Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.hyperrealm.com/libconfig/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/hyperrealm/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="automake texinfo"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf &&
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --disable-cxx \
32 --disable-doc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so*
42 }