wok-6.x annotate centerim/receipt @ rev 20352

pinentry: try with newer gcc and specify build
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 13:10:46 2018 +0000 (2018-06-09)
parents e82ed0e95644
children 83b97236db32
rev   line source
allan316@3207 1 # SliTaz package receipt.
allan316@3207 2
allan316@3207 3 PACKAGE="centerim"
pankso@10686 4 VERSION="4.22.10"
allan316@3207 5 CATEGORY="network"
allan316@3207 6 SHORT_DESC="Console mode IM"
allan316@3207 7 MAINTAINER="allan316@gmail.com"
pascal@15000 8 LICENSE="GPL2"
allan316@3207 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3207 10 WEB_SITE="http://www.centerim.org"
allan316@3207 11 WGET_URL="$WEB_SITE/download/releases/$TARBALL"
jozee@4933 12 TAGS="im instant-messenger cli command-line"
allan316@3207 13
pankso@10688 14 DEPENDS="ncursesw curl libssl libidn libgpg-error gpgme"
pankso@10688 15 BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \
pankso@10688 16 gpgme-dev"
pankso@10688 17
allan316@3207 18 # Rules to configure and make the package.
allan316@3207 19 compile_rules()
allan316@3207 20 {
allan316@3207 21 cd $src
pascal@12679 22 sed -i 's/<list>/&\n#include <stdio.h>/' libicq2000/libicq2000/sigslot.h
pascal@9057 23 mkdir -p $DESTDIR/usr
pankso@10688 24 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pankso@10688 25 make && make install
allan316@3207 26 }
allan316@3207 27
allan316@3207 28 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3207 29 genpkg_rules()
allan316@3207 30 {
pankso@10686 31 mkdir -p $fs/usr/share
pascal@15000 32 cp -a $install/usr/bin $fs/usr
pascal@15000 33 cp -a $install/usr/share/centerim $fs/usr/share
allan316@3207 34 }
allan316@3207 35