wok view appdata-tools/receipt @ rev 24947
updated nagios-nrpe (4.0.2 -> 4.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:39:55 2022 +0100 (2022-04-22) |
parents | a78610b2eb47 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="appdata-tools"
4 VERSION="0.1.7"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="AppData is a subset of AppStream."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://people.freedesktop.org/~hughsient/appdata/"
11 WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL"
13 DEPENDS="gdk-pixbuf libsoup"
14 BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev sqlite-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!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 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/ $fs
37 }