summaryrefslogtreecommitdiffstats
path: root/main/libsm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/libsm
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/libsm')
-rw-r--r--main/libsm/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/libsm/APKBUILD b/main/libsm/APKBUILD
new file mode 100644
index 000000000..9f17e18a8
--- /dev/null
+++ b/main/libsm/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsm
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="X11 Session Management library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+depends="libice libuuid"
+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"
+
+depends_dev="libice-dev xproto"
+
+build () {
+ cd "$srcdir"/libSM-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+md5sums="6889a455496aaaa65b1fa05fc518d179 libSM-1.1.1.tar.bz2"