From: Jose V Beneyto Date: Sat, 19 Dec 2009 09:14:33 +0000 (+0100) Subject: xorg-libsm: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=97415b7e400b11ff257aa9760b2df1c925b450d7;p=attic%2Fports%2Fxorg-cross.git xorg-libsm: initial import (verified compilation) --- diff --git a/xorg-libsm/.footprint b/xorg-libsm/.footprint new file mode 100644 index 0000000..2ae230a --- /dev/null +++ b/xorg-libsm/.footprint @@ -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 index 0000000..4fb9a86 --- /dev/null +++ b/xorg-libsm/.md5sum @@ -0,0 +1 @@ +6889a455496aaaa65b1fa05fc518d179 libSM-1.1.1.tar.bz2 diff --git a/xorg-libsm/Pkgfile b/xorg-libsm/Pkgfile new file mode 100644 index 0000000..fd4884b --- /dev/null +++ b/xorg-libsm/Pkgfile @@ -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 +}