wok-current view ncurses-examples/receipt @ rev 24586
updated gawk (5.0.1 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 09:01:30 2022 +0100 (2022-02-28) |
parents | 95dd63067f99 |
children | bf7fc7b1447c |
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 perl"
14 BUILD_DEPENDS="ncurses-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 mkdir -p $install/usr/share/man $install/usr/share/doc
36 cp $src/*.6 $install/usr/share/man
37 cp $src/README $install/usr/share/doc
38 }