ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit 97b826d61fd02684ac901d143b1312b961688012
parent 2d3cdf214fde0fee9bfddbdf682d86f72641ab28
Author: sin <sin@2f30.org>
Date:   Mon Jun  9 23:16:35 +0000

Add xorglibxrandr

Diffstat:
xorglibxrandr/checksums | 1+
xorglibxrandr/depsinc.mk | 7+++++++
xorglibxrandr/mkfile | 6++++++
xorglibxrandr/v.mk | 1+
xorglibxrandr/xorglibxrandr.mk | 16++++++++++++++++
5 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/xorglibxrandr/checksums b/xorglibxrandr/checksums @@ -0,0 +1 @@ +a53ce36b456331e73451afdbacddf6f05c69f5d75fcbf9670085f44342c91cca0642f0374aed1b4a931996f5b9fa18bf464a5a19d7e04cca1c1864cac9e3c6e1 libXrandr-1.4.2.tar.gz diff --git a/xorglibxrandr/depsinc.mk b/xorglibxrandr/depsinc.mk @@ -0,0 +1,7 @@ +<$xorglibxrandr_DEPDIR/v.mk + +xorglibxrandr_includedir = ${xorglibxrandr_DEPDIR}/libXrandr-$v/lib/include +xorglibxrandr_libdir = ${xorglibxrandr_DEPDIR}/libXrandr-$v/lib/lib + +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorglibxrandr_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorglibxrandr_libdir} -lXrandr diff --git a/xorglibxrandr/mkfile b/xorglibxrandr/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libXrandr-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libXrandr-$v.tar.gz +mkfile = ../xorglibxrandr.mk diff --git a/xorglibxrandr/v.mk b/xorglibxrandr/v.mk @@ -0,0 +1 @@ +v = 1.4.2 diff --git a/xorglibxrandr/xorglibxrandr.mk b/xorglibxrandr/xorglibxrandr.mk @@ -0,0 +1,16 @@ +TARG = xorglibxrandr +DEPS = xorgxproto xorglibx11 xorglibxrender xorgrenderproto xorglibxext xorgrandrproto + +<$mkbuild/mk.common-noinst + +xorglibxrandr:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export RANDR_CFLAGS="${CFLAGS}" + export RANDR_LIBS="${LDFLAGS}" + CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs DESTDIR="`pwd`/lib/" install + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \;