wok view open-cobol/receipt @ rev 24978

Add memtest-efi32 & memtest-efi64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 11:09:47 2022 +0000 (24 months ago)
parents 080c1dff8494
children 9b180a3071fb
line source
1 # SliTaz package receipt.
3 PACKAGE="open-cobol"
4 VERSION="1.1"
5 CATEGORY="development"
6 SHORT_DESC="Cobol compiler."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.opencobol.org/"
11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 WGET_URL="http://ftp.gnu.org/gnu/gnucobol/gnu-cobol-$VERSION.tar.gz"
14 DEPENDS="gmp ncurses db gcc"
15 BUILD_DEPENDS="$DEPENDS ncurses-dev gmp-dev db-dev bison flex"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/gnucobol/files/open-cobol/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/open-cobol/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -lpthread"
29 ./configure --prefix=/usr --mandir=/usr/share/man \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }