wok view dotconf/receipt @ rev 24769
lapack: CMAKE_INSTALL_LIBDIR=/usr/lib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 14:14:13 2022 +0000 (2022-03-19) |
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 }