blob: 05f5f15f6d50b3e0ba6f5d05e9276ffe348ad048 (
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, juergen dot daubert at t-online dot de
4 # Depends on: ncurses
5
6 name=sc
7 version=7.16
8 release=3
9 source=(http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$name-$version.tar.gz \
10 $name-$version.patch)
11
12 build () {
13 cd $name-$version
14 patch -p1 < $SRC/$name-$version.patch
15 sed -i "/^CFLAGS/s/-O2 -pipe/$CFLAGS/" Makefile
16 make
17 mkdir -p $PKG/usr/{bin,man/man1,share/sc}
18 make prefix=$PKG/usr install
19 sed -i "s|$PKG||g" $PKG/usr/man/man1/sc.1
20 }
|