wok-current view libconfuse/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 632bede32429 |
children | 798acb92d4d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libconfuse"
4 VERSION="3.2.2"
5 CATEGORY="misc"
6 SHORT_DESC="Configuration file parser library."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="ISC"
9 WEB_SITE="http://www.nongnu.org/confuse/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/martinh/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="automake libtool"
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 ./autogen.sh &&
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS
33 sed -i 's/ -Werror//' src/Makefile
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/include $fs/usr
45 cp -a $install/usr/lib/*.*a $fs/usr/lib
46 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
47 }