blob: 94c1e2722c6239d3fa7c1a1d710bb8183f8b1754 (
plain)
1 # Description: Curses based spreadsheet with vi key-bindings
2 # URL: http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: ncurses
5
6 name=sc
7 version=7.16
8 release=6
9 source=(http://ftp.de.debian.org/debian/pool/main/s/sc/sc_7.16.orig.tar.gz \
10 http://ftp.de.debian.org/debian/pool/main/s/sc/sc_7.16-4.debian.tar.xz)
11
12 build () {
13 cd $name-$version
14
15 local p
16 for p in $(< $SRC/debian/patches/series); do
17 patch -p1 -i $SRC/debian/patches/$p
18 done
19
20 sed -e "/^CFLAGS=/s/-O2 -pipe/$CFLAGS/" \
21 -e "/^LIBDIR=/s|doc/||" \
22 -e "/^LIB=/s/ncurses/ncursesw/" -i Makefile
23
24 install -d $PKG/usr/{bin,share/man/man1,share/sc}
25
26 make
27 make prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
28
29 sed -i "s|$PKG||g" $PKG/usr/share/man/man1/sc.1
30 }
|