wok-current view naim/receipt @ rev 25595

Patch asunder to build with gcc 6.3.0
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 31 19:56:54 2023 +0000 (14 months ago)
parents b9659e3c2111
children
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 }