wok annotate sord/receipt @ rev 13383
Add serd & sord
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 22 23:05:11 2012 +0200 (2012-09-22) |
parents | |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@13383 | 1 # SliTaz package receipt. |
pascal@13383 | 2 |
pascal@13383 | 3 PACKAGE="sord" |
pascal@13383 | 4 VERSION="0.8.0" |
pascal@13383 | 5 CATEGORY="development" |
pascal@13383 | 6 SHORT_DESC="A lightweight C library for storing RDF data in memory." |
pascal@13383 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13383 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13383 | 9 WEB_SITE="http://drobilla.net/software/sord/" |
pascal@13383 | 10 WGET_URL="http://download.drobilla.net/$TARBALL" |
pascal@13383 | 11 |
pascal@13383 | 12 DEPENDS="serd pcre" |
pascal@13383 | 13 BUILD_DEPENDS="pkg-config serd-dev pcre" |
pascal@13383 | 14 |
pascal@13383 | 15 # Rules to configure and make the package. |
pascal@13383 | 16 compile_rules() |
pascal@13383 | 17 { |
pascal@13383 | 18 cd $src |
pascal@13383 | 19 ./waf configure --prefix=/usr && |
pascal@13383 | 20 ./waf build && |
pascal@13383 | 21 ./waf install --destdir=$DESTDIR |
pascal@13383 | 22 } |
pascal@13383 | 23 |
pascal@13383 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13383 | 25 genpkg_rules() |
pascal@13383 | 26 { |
pascal@13383 | 27 mkdir -p $fs/usr/lib |
pascal@13383 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13383 | 29 cp -a $install/usr/lib/lib* $fs/usr/lib |
pascal@13383 | 30 } |