wok-6.x annotate sc-im/receipt @ rev 19179
sc-im: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 10:10:15 2016 +0200 (2016-06-04) |
parents | a00943149066 |
children | 9107a81c9abd |
rev | line source |
---|---|
paul@18415 | 1 # SliTaz package receipt. |
paul@18415 | 2 |
paul@18415 | 3 PACKAGE="sc-im" |
paul@19177 | 4 VERSION="20160603" |
paul@18415 | 5 CATEGORY="office" |
paul@18415 | 6 SHORT_DESC="Spreadsheet Calculator Improvised." |
paul@18415 | 7 MAINTAINER="paul@slitaz.org" |
pascal@19179 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@18415 | 9 WEB_SITE="https://github.com/andmarti1424/sc-im" |
paul@18415 | 10 WGET_URL="git|git://github.com/andmarti1424/sc-im" |
paul@18415 | 11 |
paul@18415 | 12 DEPENDS="ncurses libtinfo" |
paul@18415 | 13 BUILD_DEPENDS="ncurses-dev git bzip2 bison flex" |
paul@18415 | 14 |
paul@18415 | 15 # Rules to configure and make the package. |
paul@18415 | 16 compile_rules() |
paul@18415 | 17 { |
paul@18415 | 18 cd $src/src |
pascal@19179 | 19 sed -i 's|ncursesw/curses|curses|' *.c *.h |
paul@18415 | 20 make -j1 |
paul@18415 | 21 make DESTDIR=$DESTDIR install |
paul@18415 | 22 } |
paul@18415 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18415 | 24 genpkg_rules() |
paul@18415 | 25 { |
paul@18415 | 26 mkdir -p $fs/usr |
paul@18415 | 27 cp -a $install/usr/bin $fs/usr |
paul@18415 | 28 cp -a $install/usr/share $fs/usr |
paul@18415 | 29 } |