wok-current annotate libunique-gtk3/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | eeba7ab1dffe |
children |
rev | line source |
---|---|
al@14269 | 1 # SliTaz package receipt. |
al@14269 | 2 |
al@14269 | 3 PACKAGE="libunique-gtk3" |
al@14269 | 4 VERSION="3.0.2" |
al@14269 | 5 CATEGORY="development" |
al@14269 | 6 SHORT_DESC="Create single instance applications" |
al@14269 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
pascal@20674 | 9 WEB_SITE="https://wiki.gnome.org/Attic/LibUnique" |
al@14269 | 10 SOURCE="libunique" |
al@14269 | 11 TARBALL="$SOURCE-$VERSION.tar.xz" |
al@14269 | 12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL" |
al@14269 | 13 TAGS="gtk3" |
al@14269 | 14 |
al@14269 | 15 DEPENDS="dbus-glib gtk+3" |
al@14269 | 16 BUILD_DEPENDS="glib-dev gtk+3-dev dbus-glib-dev gobject-introspection-dev \ |
al@14269 | 17 libxml2-dev" |
al@14269 | 18 |
pascal@24111 | 19 current_version() |
pascal@24111 | 20 { |
pascal@24111 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 23 } |
pascal@24111 | 24 |
al@14269 | 25 # Rules to configure and make the package. |
al@14269 | 26 compile_rules() |
al@14269 | 27 { |
al@14269 | 28 ./configure \ |
al@14269 | 29 --disable-static \ |
al@14269 | 30 --enable-debug=no \ |
al@14269 | 31 --disable-gtk-doc \ |
al@14269 | 32 $CONFIGURE_ARGS && |
al@14269 | 33 make && |
al@14269 | 34 make install |
al@14269 | 35 } |
al@14269 | 36 |
al@14269 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14269 | 38 genpkg_rules() |
al@14269 | 39 { |
al@14269 | 40 mkdir -p $fs/usr/lib |
al@14269 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14269 | 42 } |
al@14269 | 43 |