aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mcabber
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-01-05 13:01:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-16 15:48:49 +0000
commit3d2e471fab70bc823c497491f6c8af358bce1235 (patch)
treea9e961c7459693c2912f2d93650357eeb8ab72e8 /testing/mcabber
parent6962e5d97598a2f244eca6862eb22cce99b920d8 (diff)
downloadaports-3d2e471fab70bc823c497491f6c8af358bce1235.tar.bz2
aports-3d2e471fab70bc823c497491f6c8af358bce1235.tar.xz
mcabber: Minor changes
Diffstat (limited to 'testing/mcabber')
-rw-r--r--testing/mcabber/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/testing/mcabber/APKBUILD b/testing/mcabber/APKBUILD
index 73f4cb4779..301ff05c6f 100644
--- a/testing/mcabber/APKBUILD
+++ b/testing/mcabber/APKBUILD
@@ -7,8 +7,9 @@ pkgdesc="A small Jabber console client"
url="http://www.lilotux.net/~mikael/mcabber/"
arch="all"
license="GPL2+"
-depends=""
+depends="beep"
depends_dev=""
+options="libtool"
makedepends=" loudmouth-dev
glib-dev
ncurses-dev
@@ -19,17 +20,18 @@ makedepends=" loudmouth-dev
enchant-dev
"
install=""
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-example"
source="http://mcabber.com/files/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --disable-static \
--enable-hgcset \
--enable-enchant \
--enable-aspell \
- --enable-otr \
+ --enable-otr \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
@@ -42,4 +44,12 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
+example() {
+ # Put the example file into a seperate package
+ mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"/example || return 1
+ mv "$_builddir"/mcabberrc.example \
+ "$subpkgdir"/usr/share/doc/"$pkgname"/mcabberrc.example || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
md5sums="fe96beab30f535d5d6270fd1719659b4 mcabber-0.10.1.tar.bz2"