wok-next annotate vanessa_adt/receipt @ rev 20464
Combine receipts (final)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 07 19:43:44 2018 +0200 (2018-03-07) |
parents | 67f5b3bae0a8 |
children | 10df65db91ad |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_adt" |
pascal@18804 | 4 VERSION="0.0.9" |
pascal@1215 | 5 CATEGORY="network" |
al@20464 | 6 SHORT_DESC="Abstract Data Types" |
pascal@1215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
al@20464 | 9 WEB_SITE="http://www.vergenet.net/linux/vanessa" |
al@20464 | 10 |
pascal@18804 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1215 | 12 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" |
pascal@15363 | 13 |
pascal@1215 | 14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger" |
al@20464 | 15 SPLIT="vanessa_adt-dev" |
pascal@1215 | 16 |
al@20464 | 17 compile_rules() { |
al@20464 | 18 ./configure \ |
al@20464 | 19 --prefix=/usr \ |
al@20464 | 20 --infodir=/usr/share/info \ |
al@20464 | 21 --mandir=/usr/share/man \ |
al@20464 | 22 $CONFIGURE_ARGS && |
pascal@1564 | 23 make && |
pascal@15363 | 24 make DESTDIR=$DESTDIR install |
pascal@1215 | 25 } |
pascal@1215 | 26 |
al@20464 | 27 genpkg_rules() { |
al@20464 | 28 case $PACKAGE in |
al@20464 | 29 vanessa_adt) |
al@20464 | 30 copy @std |
al@20464 | 31 DEPENDS="vanessa_logger" |
al@20464 | 32 ;; |
al@20464 | 33 *-dev) |
al@20464 | 34 copy @dev |
al@20464 | 35 ;; |
al@20464 | 36 esac |
pascal@1215 | 37 } |