wok rev 16817

Add appdata-tools
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 10 23:19:29 2014 -0300 (2014-07-10)
parents 37ff360385df
children 51b3e2d10e16
files appdata-tools/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/appdata-tools/receipt	Thu Jul 10 23:19:29 2014 -0300
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="appdata-tools"
     1.7 +VERSION="0.1.7"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="AppData is a subset of AppStream."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="http://people.freedesktop.org/~hughsient/appdata/"
    1.14 +WGET_URL="http://people.freedesktop.org/~hughsient/releases/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gdk-pixbuf libsoup"
    1.17 +BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $install/usr/ $fs
    1.33 +}
    1.34 +