aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnokii/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gnokii/APKBUILD')
-rw-r--r--testing/gnokii/APKBUILD18
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"