wok-next view xplc/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 81b782d36618 |
children |
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="devel@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="$PACKAGE-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=$install 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 }