wok-6.x view xplc/receipt @ rev 24584
Up tazlito (534)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 21:20:06 2022 +0000 (2022-02-27) |
parents | eb8067417980 |
children | b0069c845544 |
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="http://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 }