wok view libzen/receipt @ rev 24652
updated i3 and i3-man (4.19.2 -> 4.20.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 06:27:26 2022 +0100 (2022-03-11) |
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 }