wok-current view ncurses-examples/receipt @ rev 25529
created recipe for neovim-0.8.3
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 14:14:14 2023 +0100 (22 months ago) |
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 }