wok view ncdc/receipt @ rev 25689

updated mmv (1.01b-18 -> 2.6)
author Hans-G?nter Theisgen
date Sat Apr 13 10:48:47 2024 +0100 (7 months ago)
parents 8a0790e3dfda
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ncdc"
4 VERSION="1.22.1"
5 CATEGORY="network"
6 SHORT_DESC="NCurses Direct Connect."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://dev.yorhel.nl/ncdc"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dev.yorhel.nl/download/$TARBALL"
14 DEPENDS="bzip2 gnutls ncursesw pcre sqlite zlib"
15 BUILD_DEPENDS="bzip2-dev glib-dev gnutls-dev libgnutls ncursesw ncursesw-dev
16 pcre-dev sqlite-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
30 ./configure \
31 --prefix=/usr \
32 NCURSES_CFLAGS=" " \
33 NCURSES_LIBS=/lib/libncursesw.so &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }