aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-15 10:14:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-15 10:14:20 +0000
commit10efbbe039cac1e813fe47fe332d613a24d3d33a (patch)
tree4a257cbb588c81b8a8538e663fcf85cee4017f3b /main/libsm
parentb6f09a03ac9e8005c4058b2be0a6d20be052ea7f (diff)
downloadaports-10efbbe039cac1e813fe47fe332d613a24d3d33a.tar.bz2
aports-10efbbe039cac1e813fe47fe332d613a24d3d33a.tar.xz
main/libsm: move .so to -dev package
ref #384
Diffstat (limited to 'main/libsm')
-rw-r--r--main/libsm/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/libsm/APKBUILD b/main/libsm/APKBUILD
index 63a7303c57..1628e677a9 100644
--- a/main/libsm/APKBUILD
+++ b/main/libsm/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsm
pkgver=1.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Session Management library"
url="http://xorg.freedesktop.org/"
license="custom"
-depends="libice libuuid"
+depends=
subpackages="$pkgname-dev $pkgname-doc"
makedepends="pkgconfig libice-dev e2fsprogs-dev xproto xtrans"
source="http://xorg.freedesktop.org/releases/individual/lib/libSM-$pkgver.tar.bz2"
@@ -16,6 +16,10 @@ build () {
cd "$srcdir"/libSM-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/libSM-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}