wok-6.x annotate libhx/receipt @ rev 25171
updated python-docutils (0.16 -> 0.18.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 16:17:26 2022 +0100 (2022-07-01) |
parents | 65d7d867e0c1 |
children |
rev | line source |
---|---|
pascal@2442 | 1 # SliTaz package receipt. |
pascal@2442 | 2 |
pascal@2442 | 3 PACKAGE="libhx" |
Hans-G?nter@24798 | 4 VERSION="4.3" |
pascal@2442 | 5 CATEGORY="development" |
Hans-G?nter@23074 | 6 SHORT_DESC="Data structures and functions for scripting languages." |
pascal@2442 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15081 | 8 LICENSE="LGPL3 LGPL2.1" |
Hans-G?nter@24798 | 9 WEB_SITE="https://inai.de/projects/libhx/" |
Hans-G?nter@23074 | 10 |
pascal@2442 | 11 SOURCE="libHX" |
pascal@18455 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
Hans-G?nter@24798 | 13 WGET_URL="https://inai.de/files/$PACKAGE/$TARBALL" |
pascal@2442 | 14 |
Hans-G?nter@24798 | 15 DEPENDS="coreutils-file-special gcc83-lib-base" |
Hans-G?nter@24798 | 16 BUILD_DEPENDS="coreutils-file-special gcc83" |
pascal@12119 | 17 |
pascal@24411 | 18 # What is the latest version available today? |
pascal@24411 | 19 current_version() |
pascal@24411 | 20 { |
pascal@24411 | 21 wget -O - https://sourceforge.net/projects/libhx/files/libHX/ 2>/dev/null | \ |
pascal@24411 | 22 sed '/scope="row/!d;s|.*/libHX-||;s|.tar.*||;q' |
pascal@24411 | 23 } |
pascal@24411 | 24 |
pascal@2442 | 25 # Rules to configure and make the package. |
pascal@2442 | 26 compile_rules() |
pascal@2442 | 27 { |
Hans-G?nter@23074 | 28 ./configure \ |
Hans-G?nter@24798 | 29 CC=gcc-83 \ |
Hans-G?nter@24798 | 30 CXX=g++-83 \ |
Hans-G?nter@23074 | 31 --prefix=/usr \ |
Hans-G?nter@23074 | 32 $CONFIGURE_ARGS && |
pascal@2442 | 33 make && |
Hans-G?nter@24798 | 34 make install DESTDIR=$DESTDIR |
pascal@2442 | 35 } |
pascal@2442 | 36 |
pascal@2442 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2442 | 38 genpkg_rules() |
pascal@2442 | 39 { |
pascal@2442 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@23074 | 41 cp -a $install/usr/lib/libHX.so* $fs/usr/lib |
pascal@2442 | 42 } |