wok-current view open-cobol/receipt @ rev 20668

Up pjsip (2.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 10:25:55 2019 +0100 (2019-01-21)
parents 408c87fa22ca
children 080c1dff8494
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"
13 DEPENDS="gmp ncurses db gcc"
14 BUILD_DEPENDS="$DEPENDS ncurses-dev gmp-dev db-dev bison flex"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -lpthread"
20 ./configure --prefix=/usr --mandir=/usr/share/man \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }