wok annotate libsexymm/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 73f36875e5a7
children
rev   line source
pankso@4330 1 # SliTaz package receipt.
pankso@4330 2
pankso@4330 3 PACKAGE="libsexymm"
pankso@4330 4 VERSION="0.1.9"
pankso@4330 5 CATEGORY="x-window"
pankso@4330 6 SHORT_DESC="Gtkmm binding for libsexy."
pankso@4330 7 MAINTAINER="pankso@slitaz.org"
pascal@14718 8 LICENSE="LGPL2.1"
pankso@4330 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25651 10 WEB_SITE="https://web.archive.org/web/20080725010023/http://www.chipx86.com/wiki/Libsexy"
pascal@25363 11 WGET_URL="https://releases.chipx86.com/libsexy/libsexymm/$TARBALL"
pankso@4330 12
pankso@10651 13 DEPENDS="glibmm libgiomm cairomm gtkmm libsexy libsigc++"
pankso@10651 14 BUILD_DEPENDS="glibmm-dev libgiomm-dev cairomm-dev gtkmm-dev libsexy-dev \
pascal@12958 15 libsigc++-dev libxml2-dev gtk+-dev"
pankso@9998 16
pascal@24447 17 # What is the latest version available today?
pascal@24447 18 current_version()
pascal@24447 19 {
pascal@24447 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 22 }
pascal@24447 23
pankso@4330 24 # Rules to configure and make the package.
pankso@4330 25 compile_rules()
pankso@4330 26 {
pankso@10651 27 ./configure $CONFIGURE_ARGS && make && make install
pankso@4330 28 }
pankso@4330 29
pankso@4330 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4330 31 genpkg_rules()
pankso@4330 32 {
pankso@4330 33 mkdir -p $fs/usr/lib
pascal@14718 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@4330 35 }