wok diff hexchat-plugin/receipt @ rev 16575

Up: slitaz-arm-codex, slitaz-arm-configs, slitaz-arm-rpi
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 23:25:04 2014 +0200 (2014-05-02)
parents
children e4fd343fd7b8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hexchat-plugin/receipt	Fri May 02 23:25:04 2014 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="hexchat-plugin"
     1.7 +VERSION="2.9.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="IRC client using GTK+ with plugins support"
    1.10 +MAINTAINER="lenios@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +SOURCE="hexchat"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="http://hexchat.github.io/"
    1.15 +WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    1.16 +PROVIDE="hexchat"
    1.17 +
    1.18 +DEPENDS="gtk+ dbus openssl gettext dbus-glib xorg-libXdamage python"
    1.19 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +    cd $src
    1.25 +    sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \
    1.26 +	   -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|'
    1.27 +    sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c
    1.28 +    sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c
    1.29 +    ./configure  --prefix=/usr \
    1.30 +	  --infodir=/usr/share/info \
    1.31 +	  --mandir=/usr/share/man \
    1.32 +	  --disable-tcl \
    1.33 +	  --enable-spell=static \
    1.34 +	  --enable-ipv6 \
    1.35 +      $CONFIGURE_ARGS &&
    1.36 +    make &&
    1.37 +    make DESTDIR=$DESTDIR install
    1.38 +}
    1.39 +
    1.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 +genpkg_rules()
    1.42 +{
    1.43 +    mkdir -p $fs/usr \
    1.44 +    	$fs/usr/share
    1.45 +    cp -a $install/usr/bin $fs/usr
    1.46 +#    cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.47 +}