wok view ncurses-examples/receipt @ rev 21531

Up ncurses-examples (20180127)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 04 18:36:55 2019 +0200 (2019-05-04)
parents c67de116cde8
children c36d2f6f3037
line source
1 # SliTaz package receipt.
3 PACKAGE="ncurses-examples"
4 VERSION="20180127"
5 CATEGORY="base-system"
6 SHORT_DESC="Ncurses test functions."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 LICENSE="MIT"
10 WEB_SITE="https://invisible-island.net/ncurses/ncurses-examples.html"
11 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }