diff options
author | sibel <lesibel@free.fr> | 2010-12-30 13:43:31 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-30 13:43:31 +0100 |
commit | a88d29f844bb36b65a38da6704935eac99b5b3dd (patch) | |
tree | 54ab447d4783867b45fd9911fae43ac1cac3a4dc /xorg/mesa3d/Pkgfile | |
parent | 35743e7508a4282fd485d55e8e8a2f39ce376d18 (diff) | |
download | nutyx-pakxe-a88d29f844bb36b65a38da6704935eac99b5b3dd.tar.gz nutyx-pakxe-a88d29f844bb36b65a38da6704935eac99b5b3dd.tar.bz2 nutyx-pakxe-a88d29f844bb36b65a38da6704935eac99b5b3dd.tar.xz nutyx-pakxe-a88d29f844bb36b65a38da6704935eac99b5b3dd.zip |
mesa3d#7.9-5, correction port
Diffstat (limited to 'xorg/mesa3d/Pkgfile')
-rwxr-xr-x | xorg/mesa3d/Pkgfile | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/xorg/mesa3d/Pkgfile b/xorg/mesa3d/Pkgfile index 9f142503b..77aea3b12 100755 --- a/xorg/mesa3d/Pkgfile +++ b/xorg/mesa3d/Pkgfile @@ -6,7 +6,7 @@ name=mesa3d version=7.9 -release=2 +release=5 source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) build() { @@ -22,9 +22,29 @@ build() { ./configure --prefix=/usr \ --with-driver=dri \ --with-dri-driverdir=/usr/lib/dri - make + make + # mesa make DESTDIR=$PKG install + + # libgl + cd $SRC/Mesa-* + install -m755 -d $PKG/usr/lib + install -m755 -d $PKG/usr/lib/xorg/modules/extensions + bin/minstall lib/lib* $PKG/usr/lib/ + + case `uname -m` in + x86_64) + install -m755 -d $PKG/usr/lib64 + install -m755 -d $PKG/usr/lib64/xorg/modules/extensions + bin/minstall lib/lib* $PKG/usr/lib64/ + esac + + cd src/mesa/drivers/dri + make -C swrast DESTDIR=$PKG install + ln -s libglx.xorg $PKG/usr/lib/xorg/modules/extensions/libglx.so + + # for i in glew.h glxew.h wglew.h # do # rm $PKG/usr/include/GL/$i |