wok-6.x view centerim/receipt @ rev 21386
uhd: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 15:16:42 2019 +0200 (2019-04-22) |
parents | e82ed0e95644 |
children | 83b97236db32 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.centerim.org"
11 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
12 TAGS="im instant-messenger cli command-line"
14 DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme"
15 BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
16 gpgme-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
23 mkdir -p $DESTDIR/usr
24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/centerim $fs/usr/share
34 }