wok-next annotate xplc/receipt @ rev 20738
Up scons (3.0.1); add scons2 (2.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 21:13:51 2018 +0300 (2018-05-29) |
parents | eb8067417980 |
children | 81b782d36618 |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
jozee@5098 | 2 |
jozee@5098 | 3 PACKAGE="xplc" |
jozee@5098 | 4 VERSION="0.3.13" |
jozee@5098 | 5 CATEGORY="network" |
al@20456 | 6 SHORT_DESC="Cross-Platform Lightweight Components" |
jozee@5098 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 8 LICENSE="LGPL2.1" |
jozee@5098 | 9 WEB_SITE="http://xplc.sourceforge.net" |
al@20456 | 10 |
jozee@5098 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@5098 | 12 WGET_URL="$SF_MIRROR/xplc/$TARBALL" |
jozee@5098 | 13 |
al@20456 | 14 SPLIT="xplc-dev" |
jozee@5098 | 15 |
jozee@5098 | 16 compile_rules() { |
al@20456 | 17 ./configure \ |
al@20456 | 18 --prefix=/usr \ |
al@20456 | 19 --mandir=/usr/share/man \ |
al@20456 | 20 --without-libuuid \ |
al@20456 | 21 $CONFIGURE_ARGS && |
al@20456 | 22 make && |
al@20456 | 23 make DESTDIR=$DESTDIR install |
al@20456 | 24 } |
jozee@5098 | 25 |
al@20456 | 26 genpkg_rules() { |
al@20456 | 27 case $PACKAGE in |
al@20456 | 28 xplc) |
al@20456 | 29 copy @std |
al@20456 | 30 rm -f $fs/usr/bin/uuidgen |
al@20456 | 31 DEPENDS="gcc-lib-base" |
al@20456 | 32 ;; |
al@20456 | 33 *-dev) |
al@20456 | 34 copy @dev |
al@20456 | 35 ;; |
al@20456 | 36 esac |
jozee@5098 | 37 } |