wok-current annotate mm-common/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | 6831608a1b2a |
children | 5926178cd6fa |
rev | line source |
---|---|
slaxemulator@10231 | 1 # SliTaz package receipt. |
slaxemulator@10231 | 2 |
slaxemulator@10231 | 3 PACKAGE="mm-common" |
Hans-G?nter@24912 | 4 VERSION="1.0.4" |
slaxemulator@10231 | 5 CATEGORY="development" |
Hans-G?nter@21462 | 6 SHORT_DESC="Common build files of the C++ bindings." |
slaxemulator@10231 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15583 | 8 LICENSE="GPL2" |
Hans-G?nter@21462 | 9 WEB_SITE="https://www.gtkmm.org/" |
Hans-G?nter@21462 | 10 |
Hans-G?nter@21462 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@10231 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@10231 | 13 |
Hans-G?nter@23183 | 14 BUILD_DEPENDS="autoconf automake wget" |
Hans-G?nter@23183 | 15 # busybox wget is not sufficient |
Hans-G?nter@23183 | 16 |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
slaxemulator@10231 | 23 # Rules to configure and make the package. |
slaxemulator@10231 | 24 compile_rules() |
slaxemulator@10231 | 25 { |
Hans-G?nter@23183 | 26 ./autogen.sh --prefix=/usr && |
Hans-G?nter@23183 | 27 make && |
Hans-G?nter@21462 | 28 make install |
slaxemulator@10231 | 29 } |
slaxemulator@10231 | 30 |
slaxemulator@10231 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10231 | 32 genpkg_rules() |
slaxemulator@10231 | 33 { |
Hans-G?nter@24912 | 34 cook_copy_folders usr |
slaxemulator@10231 | 35 } |