wok view libzen/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 89c8d8b6cf48
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libzen"
4 VERSION="0.4.39"
5 CATEGORY="libdevel"
6 SHORT_DESC="Shared library for libmediainfo and mediainfo."
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 &&
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 }