wok-6.x view mm-common/receipt @ rev 24798
updated libhx and libhx-dev (3.24 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 17:23:16 2022 +0100 (2022-03-21) |
parents | 4979282c4442 |
children | 0602d7ff6bbe |
line source
1 # SliTaz package receipt.
3 PACKAGE="mm-common"
4 VERSION="1.0.0"
5 CATEGORY="development"
6 SHORT_DESC="Common build files of the C++ bindings."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gtkmm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="autoconf automake wget"
15 # busybox wget is not sufficient
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh --prefix=/usr &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs
35 cp -a $install/usr $fs
36 }