wok-6.x view bacon/receipt @ rev 25436

Up bacon (4.5), clex (4.7), rcssmin (1.1.1), remind (04.00.03)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 16:18:16 2022 +0000 (2022-08-31)
parents 9af0e03b8ad0
children 48dff2952881
line source
1 # SliTaz package receipt.
3 PACKAGE="bacon"
4 VERSION="4.5"
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 }