wok-next annotate sord/receipt @ rev 16492
May we have mercurial in i486 also...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 14:42:13 2014 +0200 (2014-04-23) |
parents | 9add88f5b1ad |
children | 6b6854289368 |
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@15593 | 8 LICENSE="ISC" |
pascal@13383 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13383 | 10 WEB_SITE="http://drobilla.net/software/sord/" |
pascal@13383 | 11 WGET_URL="http://download.drobilla.net/$TARBALL" |
pascal@13383 | 12 |
pascal@13383 | 13 DEPENDS="serd pcre" |
pascal@13383 | 14 BUILD_DEPENDS="pkg-config serd-dev pcre" |
pascal@13383 | 15 |
pascal@13383 | 16 # Rules to configure and make the package. |
pascal@13383 | 17 compile_rules() |
pascal@13383 | 18 { |
pascal@13383 | 19 cd $src |
pascal@13383 | 20 ./waf configure --prefix=/usr && |
pascal@13383 | 21 ./waf build && |
pascal@13383 | 22 ./waf install --destdir=$DESTDIR |
pascal@13383 | 23 } |
pascal@13383 | 24 |
pascal@13383 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13383 | 26 genpkg_rules() |
pascal@13383 | 27 { |
pascal@13383 | 28 mkdir -p $fs/usr/lib |
pascal@13383 | 29 cp -a $install/usr/bin $fs/usr |
pascal@13383 | 30 cp -a $install/usr/lib/lib* $fs/usr/lib |
pascal@13383 | 31 } |