void-packages/srcpkgs/sc/template
Christian Neukirchen a8c3abb78d sc: CFLAGS fixes.
2015-05-16 16:29:16 +02:00

35 lines
898 B
Bash

# Template file for 'sc'
pkgname=sc
version=7.16
revision=2
build_style=gnu-makefile
CFLAGS='-DSYSV3'
hostmakedepends="bison"
makedepends="ncurses-devel"
short_desc="A free curses-based spreadsheet program"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Public Domain"
homepage="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/!INDEX.html"
distfiles="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/${pkgname}-${version}.tar.gz
https://launchpadlibrarian.net/1281150/${pkgname}_${version}-2.diff.gz"
checksum="1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
37116b9619790564650c4090b4a6264c08aa59fa1e24c63ca073011cd70507cb"
post_extract() {
patch -Np1 <../${pkgname}_${version}-2.diff
}
do_install() {
vbin sc
vbin scqref
vbin psc
make sc.1 psc.1
vman sc.1
vman psc.1
vdoc README
vdoc SC.MACROS
vdoc CHANGES
vdoc tutorial.sc
}