wok-current view libconfig/receipt @ rev 25726
Fix xorg-server dep, add libffado, ffado-tools
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Nov 05 13:39:06 2024 +0000 (2 weeks ago) |
parents | b6e30721444b |
children |
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 HOST_ARCH="i486 x86_64"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # --disable-cxx, libconfig++ need for libffado
30 autoreconf &&
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --disable-doc \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_files *.so*
45 }