wok annotate libIDL/receipt @ rev 25510

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 20:36:56 2023 +0000 (22 months ago)
parents b0069c845544
children
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@25510 10 WEB_SITE="https://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 }