wok annotate naim/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | b9659e3c2111 |
children |
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@24980 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 } |