diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-27 21:06:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-27 21:06:21 +0000 |
commit | 0b5283e13f88bb59ea91bd002c8ad7b70d51053e (patch) | |
tree | 6debf4e139cb1f1672e7e8c0ba5535207a91f6a3 | |
parent | a948ff23afdfea6b407f71a7764e5abb26d34c21 (diff) | |
download | aports-0b5283e13f88bb59ea91bd002c8ad7b70d51053e.tar.bz2 aports-0b5283e13f88bb59ea91bd002c8ad7b70d51053e.tar.xz |
testing/gnokii: enable sqlite support for smsd
-rw-r--r-- | testing/gnokii/APKBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/testing/gnokii/APKBUILD b/testing/gnokii/APKBUILD index ae8c35498c..203399ea0f 100644 --- a/testing/gnokii/APKBUILD +++ b/testing/gnokii/APKBUILD @@ -1,17 +1,18 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnokii pkgver=0.6.30 -pkgrel=1 +pkgrel=2 pkgdesc="Tools and user space driver for use with mobile phones" url="http://www.gnokii.org/" arch="all" license="GPL" depends="" -subpackages="$pkgname-dev $pkgname-doc libgnokii xgnokii $pkgname-smsd - $pkgname-smsd-pgsql:pgsql $pkgname-smsd-mysql:mysql" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs xgnokii $pkgname-smsd + $pkgname-smsd-pgsql:pgsql $pkgname-smsd-mysql:mysql + $pkgname-smsd-sqlite:sqlite" makedepends="gtk+-dev mysql-dev intltool libusb-compat-dev libxpm-dev - bluez-dev libical-dev postgresql-dev" + bluez-dev libical-dev postgresql-dev sqlite-dev" source="http://www.gnokii.org/download/gnokii/gnokii-$pkgver.tar.bz2 gnokii.patch" @@ -38,8 +39,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -libgnokii() { +libs() { pkgdesc="gnokii shared libraries" + replaces="libgnokii" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libgnokii.so.* "$subpkgdir"/usr/lib/ } @@ -70,5 +72,11 @@ mysql() { mv "$pkgdir"/usr/lib/smsd/*mysql.so "$subpkgdir"/usr/lib/smsd/ } +sqlite() { + pkgdesc="SMSD plugin for SQLite storage backend" + depends="gnokii-smsd" + mkdir -p "$subpkgdir"/usr/lib/smsd + mv "$pkgdir"/usr/lib/smsd/*sqlite*.so "$subpkgdir"/usr/lib/smsd/ +} md5sums="c90137d403febbc16712d64f0eb196de gnokii-0.6.30.tar.bz2 4d764727686ee34bc73489c8b1321c82 gnokii.patch" |