wok annotate naim/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | fe9ffaed898b |
children | 9b180a3071fb |
rev | line source |
---|---|
pascal@13355 | 1 # SliTaz package receipt. |
pascal@13355 | 2 |
pascal@13355 | 3 PACKAGE="naim" |
pascal@13355 | 4 VERSION="0.11.8.3.2" |
pascal@13355 | 5 CATEGORY="network" |
pascal@13356 | 6 SHORT_DESC="A console AIM, ICQ, IRC, and Lily CMC client." |
pascal@13355 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@13355 | 9 WEB_SITE="http://naim.n.ml.org/" |
pascal@13355 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13355 | 11 WGET_URL="http://naim.googlecode.com/files/$TARBALL" |
pascal@13355 | 12 |
pascal@13355 | 13 DEPENDS="ncurses" |
pascal@13355 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@13355 | 15 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget -O - https://github.com/jwise/naim/tags 2>/dev/null | \ |
pascal@24545 | 20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
pascal@13355 | 23 # Rules to configure and make the package. |
pascal@13355 | 24 compile_rules() |
pascal@13355 | 25 { |
pascal@17672 | 26 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@13355 | 27 ./configure \ |
pascal@13355 | 28 --prefix=/usr \ |
pascal@13355 | 29 --sysconfdir=/etc \ |
pascal@13355 | 30 $CONFIGURE_ARGS && |
pascal@13357 | 31 make -j 1 && |
pascal@18422 | 32 make -j 1 DESTDIR=$DESTDIR install |
pascal@13355 | 33 } |
pascal@13355 | 34 |
pascal@13355 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13355 | 36 genpkg_rules() |
pascal@13355 | 37 { |
pascal@13355 | 38 mkdir -p $fs/usr |
pascal@13355 | 39 cp -a $install/usr/bin $fs/usr |
pascal@13355 | 40 } |