wok-next annotate xplc/receipt @ rev 20939

Fix brisk-menu, mate-backgrounds, mate-user-guide
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 09:13:55 2018 +0300 (2018-08-26)
parents c3a368c0cddb
children d5aab818505e
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@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@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@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 }