wok annotate open-cobol/receipt @ rev 23201

updated mtr (0.87 -> 0.93)
author Hans-G?nter Theisgen
date Fri Mar 20 17:01:22 2020 +0100 (2020-03-20)
parents 408c87fa22ca
children 080c1dff8494
rev   line source
pascal@12985 1 # SliTaz package receipt.
pascal@12985 2
pascal@12985 3 PACKAGE="open-cobol"
pascal@12985 4 VERSION="1.1"
pascal@12985 5 CATEGORY="development"
pascal@12985 6 SHORT_DESC="Cobol compiler."
pascal@12985 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pascal@12985 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12985 10 WEB_SITE="http://www.opencobol.org/"
pascal@12985 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@12985 12
pascal@12985 13 DEPENDS="gmp ncurses db gcc"
pascal@12985 14 BUILD_DEPENDS="$DEPENDS ncurses-dev gmp-dev db-dev bison flex"
pascal@12985 15
pascal@12985 16 # Rules to configure and make the package.
pascal@12985 17 compile_rules()
pascal@12985 18 {
pascal@18950 19 export LDFLAGS="$LDFLAGS -lpthread"
pascal@12985 20 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@12985 21 --localstatedir=/var \
pascal@12985 22 $CONFIGURE_ARGS &&
pascal@12985 23 make &&
pascal@12985 24 make DESTDIR=$DESTDIR install
pascal@12985 25 }
pascal@12985 26
pascal@12985 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12985 28 genpkg_rules()
pascal@12985 29 {
pascal@15001 30 cp -a $install/usr $fs
pascal@12985 31 }