wok view libzen/receipt @ rev 24643
updated hg-git (0.8.13 -> 0.10.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 17:41:22 2022 +0100 (2022-03-09) |
parents | 4700d43dc494 |
children | 7fc888a06141 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libzen"
4 VERSION="0.4.37"
5 CATEGORY="libdevel"
6 SHORT_DESC="ZenLib - small C++ derivative class to have a simpler life."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://mediaarea.net/"
11 TARBALL="${PACKAGE}_$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="automake libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
21 sed '/folder.png/!d;s|.*href="||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd Project/GNU/Library
28 ./autogen.sh &&
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make install
36 # 0.4.37: not created
37 # sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|/.libs||' \
38 # $install/usr/bin/libzen-config
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }