wok view xplc/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (19 months ago)
parents ad86373a4a8c
children 29df00e1e19d
line source
1 # SliTaz package receipt.
3 PACKAGE="xplc"
4 VERSION="0.3.13"
5 CATEGORY="network"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="LGPL2.1"
8 SHORT_DESC="Cross-Platform Lightweight Components"
9 WEB_SITE="https://xplc.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/xplc/$TARBALL"
12 TAGS=""
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr --mandir=/usr/share/man \
28 --without-libuuid $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*so* $fs/usr/lib/
39 cp -a $install/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION
40 rm -f $fs/usr/bin/uuidgen
41 }