wok-next view xplc/receipt @ rev 20907

slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 15:39:58 2018 +0300 (2018-08-10)
parents c3a368c0cddb
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xplc"
4 VERSION="0.3.13"
5 CATEGORY="network"
6 SHORT_DESC="Cross-Platform Lightweight Components"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://xplc.sourceforge.net"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/xplc/$TARBALL"
14 SPLIT="xplc-dev"
16 compile_rules() {
17 export LDFLAGS='-ldl' # avoid '--as-needed' for old code
19 ./configure \
20 --without-libuuid \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 xplc)
29 copy *.so* # exclude /usr/bin/uuidgen, /usr/bin/uuidcdef
30 DEPENDS="gcc-lib-base"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }