wok-next annotate libhx/receipt @ rev 20948

Provide the technique to build Python packages for both Python2 and Python3
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 31 17:13:06 2018 +0300 (2018-08-31)
parents 25deb7c6df08
children d5aab818505e
rev   line source
al@20462 1 # SliTaz package receipt v2.
pascal@2442 2
pascal@2442 3 PACKAGE="libhx"
pascal@18455 4 VERSION="3.21"
pascal@2442 5 CATEGORY="development"
al@20462 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"
al@20462 9 WEB_SITE="http://libhx.sourceforge.net/"
al@20462 10
al@20462 11 TARBALL="libHX-$VERSION.tar.xz"
pascal@2442 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@2442 13
pascal@12119 14 BUILD_DEPENDS="coreutils-file-special"
al@20592 15 SPLIT="libhx-dev"
pascal@12119 16
al@20462 17 compile_rules() {
al@20577 18 ./configure $CONFIGURE_ARGS &&
al@20577 19 fix libtool &&
pascal@2442 20 make &&
pascal@12119 21 make DESTDIR=$DESTDIR install
pascal@2442 22 }
pascal@2442 23
al@20462 24 genpkg_rules() {
al@20462 25 case $PACKAGE in
al@20462 26 libhx)
al@20577 27 copy @std
al@20462 28 DEPENDS="coreutils-file-special"
al@20462 29 ;;
al@20462 30 *-dev)
al@20577 31 copy @dev
al@20462 32 ;;
al@20462 33 esac
pascal@2442 34 }