wok annotate ncurses-examples/receipt @ rev 23922

Add alieninvasion, spaceinvader, racer10k and javascript-racer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 22 17:01:17 2020 +0000 (2020-08-22)
parents c36d2f6f3037
children d7522d21c4d3
rev   line source
paul@17154 1 # SliTaz package receipt.
paul@17154 2
paul@17154 3 PACKAGE="ncurses-examples"
pascal@21531 4 VERSION="20180127"
paul@17154 5 CATEGORY="base-system"
paul@17154 6 SHORT_DESC="Ncurses test functions."
paul@17154 7 MAINTAINER="paul@slitaz.org"
pascal@21531 8 TARBALL="$PACKAGE-$VERSION.tgz"
paul@17154 9 LICENSE="MIT"
pascal@20669 10 WEB_SITE="https://invisible-island.net/ncurses/ncurses-examples.html"
pascal@21531 11 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$TARBALL"
paul@17154 12
pascal@21542 13 DEPENDS="ncurses perl"
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 {
paul@17154 19 ./configure \
paul@17154 20 $CONFIGURE_ARGS &&
paul@17154 21 make && make install
paul@17154 22 }
paul@17154 23
paul@17154 24 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17154 25 genpkg_rules()
paul@17154 26 {
pascal@21542 27 cp -a $install/usr $fs
pascal@21542 28 mkdir -p $install/usr/share/man $install/usr/share/doc
pascal@21542 29 cp $src/*.6 $install/usr/share/man
pascal@21542 30 cp $src/README $install/usr/share/doc
paul@17154 31 }