wok-stable annotate xchat/receipt @ rev 2054
fix CATEGORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 20 17:33:00 2009 +0000 (2009-01-20) |
parents | |
children | 917290e1ad30 |
rev | line source |
---|---|
erjo@1987 | 1 # SliTaz package receipt. |
erjo@1987 | 2 |
erjo@1987 | 3 PACKAGE="xchat" |
erjo@1987 | 4 VERSION="2.8.6" |
erjo@1987 | 5 CATEGORY="network" |
erjo@1987 | 6 SHORT_DESC="IRC client using GTK+" |
erjo@1987 | 7 MAINTAINER="fabrice.thiroux@free.fr" |
erjo@1987 | 8 DEPENDS="gtk+ dbus libsexy libnotify openssl gettext" |
erjo@1987 | 9 BUILD_DEPENDS="gtk+-dev dbus-dev libsexy-dev libnotify-dev openssl" |
erjo@1987 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1987 | 11 WEB_SITE="http://www.xchat.org/" |
erjo@1987 | 12 WGET_URL="http://www.xchat.org/files/source/2.8/$TARBALL" |
erjo@1987 | 13 |
erjo@1987 | 14 # Rules to configure and make the package. |
erjo@1987 | 15 compile_rules() |
erjo@1987 | 16 { |
erjo@1987 | 17 cd $src |
erjo@1987 | 18 patch -p1 -i ../stuff/xc286-smallfixes.diff |
erjo@1987 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1987 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@1987 | 21 make |
erjo@1987 | 22 make DESTDIR=$PWD/_pkg install |
erjo@1987 | 23 } |
erjo@1987 | 24 |
erjo@1987 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1987 | 26 genpkg_rules() |
erjo@1987 | 27 { |
erjo@1987 | 28 mkdir -p $fs/usr \ |
erjo@1987 | 29 $fs/usr/share |
erjo@1987 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@1987 | 31 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@1987 | 32 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@1987 | 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@1987 | 34 } |