summaryrefslogtreecommitdiffstats
path: root/extra/xchat/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xchat/Pkgfile')
-rw-r--r--extra/xchat/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/xchat/Pkgfile b/extra/xchat/Pkgfile
new file mode 100644
index 000000000..91184d9e2
--- /dev/null
+++ b/extra/xchat/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Client IRC basé sur GTK+2
+# URL: http://www.xchat.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: openssl, gtk, perl, libsexy
+
+name=xchat
+version=2.8.6
+release=1
+source=(http://www.xchat.org/files/source/2.8/$name-$version.tar.bz2 \
+ http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff \
+ $name-gtk2.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 -i $SRC/xc286-smallfixes.diff
+ patch -p1 -i $SRC/$name-gtk2.patch
+ ./configure --prefix=/usr \
+ --enable-openssl \
+ --enable-perl \
+ --enable-ipv6 \
+ --disable-gnome \
+ --disable-textfe \
+ --disable-python \
+ --disable-tcl
+ make -j3
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/etc
+ install -D $name.desktop $PKG/usr/share/applications/$name.desktop
+ install -D $name.png $PKG/usr/share/pixmaps/$name.png
+}
+