wok-current annotate libzen/receipt @ rev 24809

created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author Hans-G?nter Theisgen
date Tue Mar 22 16:52:59 2022 +0100 (2022-03-22)
parents 4700d43dc494
children 7fc888a06141
rev   line source
al@18634 1 # SliTaz package receipt.
al@18634 2
al@18634 3 PACKAGE="libzen"
Hans-G?nter@21354 4 VERSION="0.4.37"
al@18634 5 CATEGORY="libdevel"
Hans-G?nter@21354 6 SHORT_DESC="ZenLib - small C++ derivative class to have a simpler life."
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 {
al@18634 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@21354 33 make -j 1 &&
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 {
al@18634 44 cp -a $install/* $fs
al@18634 45 }