wok-current annotate gtkmm/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | 3e7bbdc0d415 |
children |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
Hans-G?nter@21012 | 4 VERSION="2.24.5" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@137 | 6 SHORT_DESC="C++ interface for the popular GUI library GTK+." |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21012 | 9 WEB_SITE="https://www.gtkmm.org/" |
Hans-G?nter@21012 | 10 |
slaxemulator@14633 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21012 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@137 | 13 |
Hans-G?nter@21012 | 14 DEPENDS="atkmm cairomm gcc-lib-base glibmm gtk+ libgiomm libsigc++ pangomm \ |
Hans-G?nter@21012 | 15 xorg-libXdamage" |
Hans-G?nter@21012 | 16 BUILD_DEPENDS="atkmm-dev cairomm-dev doxygen glibmm-dev gtk+-dev libgiomm-dev \ |
Hans-G?nter@21012 | 17 libsigc++-dev mm-common pangomm-dev" |
pankso@9810 | 18 |
pascal@24074 | 19 current_version() |
pascal@24074 | 20 { |
pascal@24074 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24074 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24074 | 23 } |
pascal@24074 | 24 |
pankso@137 | 25 # Rules to configure and make the package. |
pankso@137 | 26 compile_rules() |
pankso@137 | 27 { |
Hans-G?nter@21012 | 28 ./configure \ |
Hans-G?nter@21012 | 29 --disable-documentation \ |
slaxemulator@11118 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21012 | 31 make -j 1 && |
slaxemulator@9531 | 32 make install |
pankso@137 | 33 } |
pankso@137 | 34 |
pankso@137 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 36 genpkg_rules() |
pankso@137 | 37 { |
pankso@137 | 38 mkdir -p $fs/usr/lib |
slaxemulator@14630 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 40 } |