aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-26 15:26:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-26 15:26:55 +0000
commite11b50601d726cf32b472748c09beae3922d9ff7 (patch)
tree5d308a3f9da1b06b1e991087e0e7d62a5f2e383f
parent962c3987c08a6e153ef9758e79efffd6685f5cf3 (diff)
downloadaports-e11b50601d726cf32b472748c09beae3922d9ff7.tar.bz2
aports-e11b50601d726cf32b472748c09beae3922d9ff7.tar.xz
main/xchat: build fix
depend on libxext-dev instead of xextproto headers seems to have moved
-rw-r--r--main/xchat/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/main/xchat/APKBUILD b/main/xchat/APKBUILD
index 7f215037a0..96486e27cb 100644
--- a/main/xchat/APKBUILD
+++ b/main/xchat/APKBUILD
@@ -1,20 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xchat
pkgver=2.8.6
-pkgrel=0
+pkgrel=1
pkgdesc="A GTK+ based IRC client"
url="http://www.xchat.org/"
license="GPL"
-makedepends="pkgconfig gtk+-dev openssl-dev dbus-glib-dev xextproto perl-dev"
+makedepends="pkgconfig gtk+-dev openssl-dev dbus-glib-dev perl-dev
+ libxext-dev"
source="http://www.$pkgname.org/files/source/2.8/$pkgname-$pkgver.tar.bz2
http://www.$pkgname.org/files/source/2.8/patches/xc286-smallfixes.diff
$pkgname-gtk2.patch"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
patch -p1 < ../xc286-smallfixes.diff || return 1
patch -p1 < ../xchat-gtk2.patch || return 1
+}
+
+
+build() {
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-openssl \
@@ -27,6 +33,10 @@ build ()
--enable-shm \
--enable-spell=static || return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}