wok-current annotate mm-common/receipt @ rev 24255
updated perl-test-fatal (0.014 -> 0.016)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:59:54 2022 +0100 (2022-01-02) |
parents | 4979282c4442 |
children | 0602d7ff6bbe |
rev | line source |
---|---|
slaxemulator@10231 | 1 # SliTaz package receipt. |
slaxemulator@10231 | 2 |
slaxemulator@10231 | 3 PACKAGE="mm-common" |
Hans-G?nter@23183 | 4 VERSION="1.0.0" |
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 { |
slaxemulator@10231 | 34 mkdir -p $fs |
Hans-G?nter@23183 | 35 cp -a $install/usr $fs |
slaxemulator@10231 | 36 } |