wok view bacon/receipt @ rev 24417

created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:16:47 2022 +0100 (2022-02-11)
parents 9c973fb0a52b
children 01119cbefbc3
line source
1 # SliTaz package receipt.
3 PACKAGE="bacon"
4 VERSION="4.4"
5 CATEGORY="development"
6 TAGS="basic C"
7 SHORT_DESC="Basic to C converter."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.basic-converter.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}stable/$TARBALL"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 # Do not remove "-j 1"
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/usr $fs
41 rm -rf $fs/usr/share/man
42 rm -rf $fs/usr/share/BaCon/documentation
43 }