wok-next view centerim/receipt @ rev 12777

Up: cookutils (2.0) Mostly handle multi arch, new cross (beta, not yet packages)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 15:58:57 2012 +0200 (2012-05-13)
parents 0c1f55f3b867
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="centerim"
4 VERSION="4.22.10"
5 CATEGORY="network"
6 SHORT_DESC="Console mode IM"
7 MAINTAINER="allan316@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.centerim.org"
10 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
11 TAGS="im instant-messenger cli command-line"
13 DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme"
14 BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
15 gpgme-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
22 mkdir -p $DESTDIR/usr
23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/centerim $fs/usr/share
33 }