diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-01-05 13:01:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-16 15:48:49 +0000 |
commit | 3d2e471fab70bc823c497491f6c8af358bce1235 (patch) | |
tree | a9e961c7459693c2912f2d93650357eeb8ab72e8 /testing/mcabber/APKBUILD | |
parent | 6962e5d97598a2f244eca6862eb22cce99b920d8 (diff) | |
download | aports-3d2e471fab70bc823c497491f6c8af358bce1235.tar.bz2 aports-3d2e471fab70bc823c497491f6c8af358bce1235.tar.xz |
mcabber: Minor changes
Diffstat (limited to 'testing/mcabber/APKBUILD')
-rw-r--r-- | testing/mcabber/APKBUILD | 16 |
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" |