wok-6.x annotate ncurses-examples/receipt @ rev 20542
linld: relative lseek for load.cpp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 30 15:12:24 2018 +0100 (2018-11-30) |
parents | c5fbf291c0d0 |
children | a78610b2eb47 |
rev | line source |
---|---|
paul@17154 | 1 # SliTaz package receipt. |
paul@17154 | 2 |
paul@17154 | 3 PACKAGE="ncurses-examples" |
paul@17154 | 4 VERSION="5.9" |
paul@17154 | 5 CATEGORY="base-system" |
paul@17154 | 6 SHORT_DESC="Ncurses test functions." |
paul@17154 | 7 MAINTAINER="paul@slitaz.org" |
paul@17154 | 8 TARBALL="$PACKAGE.tar.gz" |
paul@17154 | 9 LICENSE="MIT" |
paul@17154 | 10 WEB_SITE="http://invisible-island.net/ncurses/ncurses-examples.html" |
paul@17154 | 11 WGET_URL="ftp://invisible-island.net/ncurses-examples/$TARBALL" |
paul@17154 | 12 |
paul@17154 | 13 DEPENDS="ncurses" |
paul@17154 | 14 BUILD_DEPENDS="ncurses-dev" |
paul@17154 | 15 |
paul@17154 | 16 # Rules to configure and make the package. |
paul@17154 | 17 compile_rules() |
paul@17154 | 18 { |
pascal@17672 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
paul@17154 | 20 ./configure \ |
paul@17154 | 21 $CONFIGURE_ARGS && |
paul@17154 | 22 make && make install |
paul@17154 | 23 } |
paul@17154 | 24 |
paul@17154 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17154 | 26 genpkg_rules() |
paul@17154 | 27 { |
paul@17154 | 28 mkdir -p $fs/usr |
paul@17154 | 29 cp -a $install/usr/bin $fs/usr |
paul@17154 | 30 } |