wok-6.x annotate xplc/receipt @ rev 24257
updated perl-test-nowarnings (1.04 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:05:21 2022 +0100 (2022-01-02) |
parents | eb8067417980 |
children | b0069c845544 |
rev | line source |
---|---|
jozee@5098 | 1 # SliTaz package receipt. |
jozee@5098 | 2 |
jozee@5098 | 3 PACKAGE="xplc" |
jozee@5098 | 4 VERSION="0.3.13" |
jozee@5098 | 5 CATEGORY="network" |
jozee@5098 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 7 LICENSE="LGPL2.1" |
jozee@5098 | 8 SHORT_DESC="Cross-Platform Lightweight Components" |
jozee@5098 | 9 WEB_SITE="http://xplc.sourceforge.net" |
jozee@5098 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@5098 | 11 WGET_URL="$SF_MIRROR/xplc/$TARBALL" |
jozee@5098 | 12 TAGS="" |
jozee@5098 | 13 |
pascal@15579 | 14 DEPENDS="gcc-lib-base" |
pascal@15579 | 15 BUILD_DEPENDS="" |
pascal@15579 | 16 |
pascal@24108 | 17 current_version() |
pascal@24108 | 18 { |
pascal@24108 | 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24108 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24108 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" |
pascal@24108 | 22 } |
pascal@24108 | 23 |
jozee@5098 | 24 # Rules to configure and make the package. |
pascal@24108 | 25 compile_rules() |
pascal@24108 | 26 { |
pascal@24108 | 27 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@24108 | 28 --without-libuuid $CONFIGURE_ARGS && |
pascal@24108 | 29 make && |
pascal@24108 | 30 make DESTDIR=$DESTDIR install |
jozee@5098 | 31 } |
jozee@5098 | 32 |
jozee@5098 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5098 | 34 genpkg_rules() |
jozee@5098 | 35 { |
jozee@5098 | 36 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION |
pascal@15579 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 38 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
pascal@15579 | 39 cp -a $install/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION |
jozee@5098 | 40 rm -f $fs/usr/bin/uuidgen |
jozee@5098 | 41 } |