wok-next annotate open-cobol/receipt @ rev 17849
Add gcc49-lib-base
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 24 17:40:10 2015 +0100 (2015-03-24) |
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 } |