wok-6.x annotate open-cobol/receipt @ rev 15872
Up: lz4 (112) add lz4c, lib and dev packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 02 21:26:43 2014 +0100 (2014-02-02) |
parents | 1da943e93655 |
children | ee63fcd28c2d |
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@12985 | 19 cd $src |
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 } |