wok view bacon/receipt @ rev 24940
f2c: add libf2c (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 15 16:39:27 2022 +0000 (2022-04-15) |
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 }