CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libsm: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Sat, 19 Dec 2009 09:14:33 +0000 (10:14 +0100)
committerJose V Beneyto <sepen@crux.nu>
Sat, 19 Dec 2009 09:14:33 +0000 (10:14 +0100)
xorg-libsm/.footprint [new file with mode: 0644]
xorg-libsm/.md5sum [new file with mode: 0644]
xorg-libsm/Pkgfile [new file with mode: 0644]

diff --git a/xorg-libsm/.footprint b/xorg-libsm/.footprint
new file mode 100644 (file)
index 0000000..2ae230a
--- /dev/null
@@ -0,0 +1,15 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/X11/
+drwxr-xr-x     root/root       usr/include/X11/SM/
+-rw-r--r--     root/root       usr/include/X11/SM/SM.h
+-rw-r--r--     root/root       usr/include/X11/SM/SMlib.h
+-rw-r--r--     root/root       usr/include/X11/SM/SMproto.h
+drwxr-xr-x     root/root       usr/lib/
+-rw-r--r--     root/root       usr/lib/libSM.a
+-rwxr-xr-x     root/root       usr/lib/libSM.la
+lrwxrwxrwx     root/root       usr/lib/libSM.so -> libSM.so.6.0.1
+lrwxrwxrwx     root/root       usr/lib/libSM.so.6 -> libSM.so.6.0.1
+-rwxr-xr-x     root/root       usr/lib/libSM.so.6.0.1
+drwxr-xr-x     root/root       usr/lib/pkgconfig/
+-rw-r--r--     root/root       usr/lib/pkgconfig/sm.pc
diff --git a/xorg-libsm/.md5sum b/xorg-libsm/.md5sum
new file mode 100644 (file)
index 0000000..4fb9a86
--- /dev/null
@@ -0,0 +1 @@
+6889a455496aaaa65b1fa05fc518d179  libSM-1.1.1.tar.bz2
diff --git a/xorg-libsm/Pkgfile b/xorg-libsm/Pkgfile
new file mode 100644 (file)
index 0000000..fd4884b
--- /dev/null
@@ -0,0 +1,28 @@
+# Description: X Session Management client library
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libice xorg-xproto xorg-xtrans
+
+name=xorg-libsm
+version=1.1.1
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libSM-$version.tar.bz2)
+
+build() {
+  cd libSM-$version
+
+  export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
+  export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+  export XTRANS_LIBS="$DEFAULT_LIBS"
+  export XTRANS_CFLAGS="$DEFAULT_CFLAGS -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT"
+  export SM_LIBS="$DEFAULT_LIBS -lICE"
+  export SM_CFLAGS="$DEFAULT_CFLAGS -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT"
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr
+
+  make
+  make DESTDIR=$PKG install
+}