wok annotate appdata-tools/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
parents | a78610b2eb47 |
children |
rev | line source |
---|---|
yuripourre@16817 | 1 # SliTaz package receipt. |
yuripourre@16817 | 2 |
yuripourre@16817 | 3 PACKAGE="appdata-tools" |
yuripourre@16817 | 4 VERSION="0.1.7" |
yuripourre@16817 | 5 CATEGORY="utilities" |
yuripourre@16817 | 6 LICENSE="GPL3" |
yuripourre@16817 | 7 SHORT_DESC="AppData is a subset of AppStream." |
yuripourre@16817 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16817 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 10 WEB_SITE="https://people.freedesktop.org/~hughsient/appdata/" |
pascal@20669 | 11 WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL" |
yuripourre@16817 | 12 |
yuripourre@16817 | 13 DEPENDS="gdk-pixbuf libsoup" |
pascal@17602 | 14 BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev sqlite-dev" |
yuripourre@16817 | 15 |
pascal@24373 | 16 # What is the latest version available today? |
pascal@24373 | 17 current_version() |
pascal@24373 | 18 { |
pascal@24373 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 21 } |
pascal@24373 | 22 |
yuripourre@16817 | 23 # Rules to configure and make the package. |
yuripourre@16817 | 24 compile_rules() |
yuripourre@16817 | 25 { |
yuripourre@16817 | 26 ./configure \ |
yuripourre@16817 | 27 --prefix=/usr \ |
yuripourre@16817 | 28 $CONFIGURE_ARGS && |
yuripourre@16817 | 29 make && |
yuripourre@16817 | 30 make DESTDIR=$DESTDIR install |
yuripourre@16817 | 31 } |
yuripourre@16817 | 32 |
yuripourre@16817 | 33 genpkg_rules() |
yuripourre@16817 | 34 { |
yuripourre@16817 | 35 mkdir -p $fs/usr |
yuripourre@16817 | 36 cp -a $install/usr/ $fs |
yuripourre@16817 | 37 } |