wok-6.x view naim/receipt @ rev 24570
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 21:49:28 2022 +0000 (2022-02-26) |
parents | fe9ffaed898b |
children | 9b180a3071fb |
line source
1 # SliTaz package receipt.
3 PACKAGE="naim"
4 VERSION="0.11.8.3.2"
5 CATEGORY="network"
6 SHORT_DESC="A console AIM, ICQ, IRC, and Lily CMC client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://naim.n.ml.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://naim.googlecode.com/files/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/jwise/naim/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make -j 1 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }