wok annotate libzen/receipt @ rev 24857

updated links and links-dfb (2.20.2 -> 2.25)
author Hans-G?nter Theisgen
date Mon Mar 28 17:04:25 2022 +0100 (2022-03-28)
parents 89c8d8b6cf48
children
rev   line source
al@18634 1 # SliTaz package receipt.
al@18634 2
al@18634 3 PACKAGE="libzen"
Hans-G?nter@24854 4 VERSION="0.4.39"
al@18634 5 CATEGORY="libdevel"
Hans-G?nter@24854 6 SHORT_DESC="Shared library for libmediainfo and mediainfo."
al@18634 7 MAINTAINER="al.bobylev@gmail.com"
al@18634 8 LICENSE="zlib/libpng"
Hans-G?nter@21354 9 WEB_SITE="https://mediaarea.net/"
Hans-G?nter@21354 10
al@18634 11 TARBALL="${PACKAGE}_$VERSION.tar.bz2"
al@18634 12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
al@18634 13
al@18634 14 DEPENDS=""
Hans-G?nter@21354 15 BUILD_DEPENDS="automake libtool"
al@18634 16
pascal@24476 17 # What is the latest version available today?
pascal@24476 18 current_version()
pascal@24476 19 {
pascal@24476 20 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
pascal@24476 21 sed '/folder.png/!d;s|.*href="||;s|/.*||;q'
pascal@24476 22 }
pascal@24476 23
al@18634 24 # Rules to configure and make the package.
al@18634 25 compile_rules()
al@18634 26 {
Hans-G?nter@24854 27 cd Project/GNU/Library
Hans-G?nter@21354 28 ./autogen.sh &&
Hans-G?nter@21354 29 ./configure \
Hans-G?nter@21354 30 --prefix=/usr \
Hans-G?nter@21354 31 --sysconfdir=/etc \
al@18634 32 $CONFIGURE_ARGS &&
Hans-G?nter@24854 33 make &&
Hans-G?nter@21354 34 make install
al@18634 35
Hans-G?nter@21354 36 # 0.4.37: not created
Hans-G?nter@21354 37 # sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|/.libs||' \
Hans-G?nter@21354 38 # $install/usr/bin/libzen-config
al@18634 39 }
al@18634 40
al@18634 41 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18634 42 genpkg_rules()
al@18634 43 {
Hans-G?nter@24854 44 cp -a $install/* $fs
al@18634 45 }