wok-6.x annotate open-cobol/receipt @ rev 13685

btrfs-progs: do not create 2 snapshots simultaneously...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 03 11:12:37 2012 +0100 (2012-12-03)
parents
children 408c87fa22ca
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@12985 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12985 9 WEB_SITE="http://www.opencobol.org/"
pascal@12985 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@12985 11
pascal@12985 12 DEPENDS="gmp ncurses db gcc"
pascal@12985 13 BUILD_DEPENDS="$DEPENDS ncurses-dev gmp-dev db-dev bison flex"
pascal@12985 14
pascal@12985 15 # Rules to configure and make the package.
pascal@12985 16 compile_rules()
pascal@12985 17 {
pascal@12985 18 cd $src
pascal@12985 19 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@12985 20 --localstatedir=/var \
pascal@12985 21 $CONFIGURE_ARGS &&
pascal@12985 22 make &&
pascal@12985 23 make DESTDIR=$DESTDIR install
pascal@12985 24 }
pascal@12985 25
pascal@12985 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12985 27 genpkg_rules()
pascal@12985 28 {
pascal@12985 29 cp -a $_pkg/usr $fs
pascal@12985 30 }