wok-6.x view dotconf/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents 75b0b61c5994
children b569b85b0fb9
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 autoreconf --install &&
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 # cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share $fs/usr
38 }