wok view dotconf/receipt @ rev 25134
updated phpeasyvcs (1.0 -> 2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 10:51:43 2022 +0100 (2022-06-29) |
parents | d443265acbc1 |
children | 01119cbefbc3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dotconf"
4 VERSION="1.3"
5 CATEGORY="development"
6 SHORT_DESC="Configuration file parser library."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/williamh/dotconf"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$[WEB_SITE}archive/v${VERSION%}/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf --install &&
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 # cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/share $fs/usr
45 }