wok view libIDL/receipt @ rev 24987

grub: add gpt support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 07:08:39 2022 +0000 (2022-05-12)
parents 63cdeb5a1e77
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="libIDL"
4 VERSION="0.8.14"
5 CATEGORY="development"
6 SHORT_DESC="IDL Compiling Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://freshmeat.sourceforge.net/projects/libidl"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 CROSS="bug: can not run test program"
14 DEPENDS="glib"
15 BUILD_DEPENDS="bison flex glib-dev pkg-config"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --cache-file=config.cache \
29 --build=$HOST_SYSTEM \
30 --host=$HOST_SYSTEM &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/include $fs/usr
41 }