wok annotate libIDL/receipt @ rev 24161

updated memtester (4.3.0 -> 4.5.1)
author Hans-G?nter Theisgen
date Wed Dec 22 13:43:13 2021 +0100 (2021-12-22)
parents 63cdeb5a1e77
children b0069c845544
rev   line source
pankso@30 1 # SliTaz package receipt.
pankso@30 2
pankso@30 3 PACKAGE="libIDL"
slaxemulator@6737 4 VERSION="0.8.14"
pankso@211 5 CATEGORY="development"
pankso@30 6 SHORT_DESC="IDL Compiling Library."
pankso@30 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
slaxemulator@6737 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20947 10 WEB_SITE="http://freshmeat.sourceforge.net/projects/libidl"
slaxemulator@10355 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@10354 12 CROSS="bug: can not run test program"
pankso@10354 13
pascal@2478 14 DEPENDS="glib"
slaxemulator@6737 15 BUILD_DEPENDS="bison flex glib-dev pkg-config"
pankso@30 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pankso@30 23 # Rules to configure and make the package.
pankso@30 24 compile_rules()
pankso@30 25 {
pankso@30 26 cd $src
pankso@10354 27 ./configure \
pankso@10354 28 --cache-file=config.cache \
pankso@10354 29 --build=$HOST_SYSTEM \
pankso@10354 30 --host=$HOST_SYSTEM &&
pankso@10354 31 make && make install
pankso@30 32 }
pankso@30 33
pankso@30 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@30 35 genpkg_rules()
pankso@30 36 {
pankso@30 37 mkdir -p $fs/usr
pascal@14714 38 cp -a $install/usr/lib $fs/usr
pascal@14714 39 cp -a $install/usr/bin $fs/usr
pascal@14714 40 cp -a $install/usr/include $fs/usr
pankso@30 41 }