wok-next annotate xplc/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 81b782d36618
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15579 8 LICENSE="LGPL2.1"
al@21020 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@21020 14 SPLIT="$PACKAGE-dev"
jozee@5098 15
jozee@5098 16 compile_rules() {
al@20852 17 export LDFLAGS='-ldl' # avoid '--as-needed' for old code
al@20852 18
al@20456 19 ./configure \
al@20456 20 --without-libuuid \
al@20456 21 $CONFIGURE_ARGS &&
al@20456 22 make &&
al@21020 23 make DESTDIR=$install install
al@20456 24 }
jozee@5098 25
al@20456 26 genpkg_rules() {
al@20456 27 case $PACKAGE in
al@20456 28 xplc)
al@20852 29 copy *.so* # exclude /usr/bin/uuidgen, /usr/bin/uuidcdef
al@20456 30 DEPENDS="gcc-lib-base"
al@20456 31 ;;
al@20456 32 *-dev)
al@20456 33 copy @dev
al@20456 34 ;;
al@20456 35 esac
jozee@5098 36 }