CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 1850 -
(show annotations)
Thu Jun 10 19:45:08 2010 UTC (2 years, 11 months ago) by acrux
File size: 582 byte(s)
Thu Jun 10 19:45:08 2010 UTC (2 years, 11 months ago) by acrux
File size: 582 byte(s)
libdrm: fixed
| 1 | # Description: Userspace interface to kernel DRM services |
| 2 | # URL: http://dri.freedesktop.org/ |
| 3 | # Maintainer: acrux, acrux at linuxmail dot org |
| 4 | # Depends on: libpthread-stubs |
| 5 | # PPC!=: |
| 6 | |
| 7 | name=libdrm |
| 8 | version=2.4.21 |
| 9 | release=1 |
| 10 | source=(http://dri.freedesktop.org/$name/$name-$version.tar.bz2 \ |
| 11 | pci0001.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | # if your videocard is on PCI:0001 bus (e.g. on Pegasos2) |
| 16 | # patch -p0 -i $SRC/pci0001.patch |
| 17 | |
| 18 | ./configure --prefix=/usr --with-gnu-ld \ |
| 19 | --disable-intel --enable-udev \ |
| 20 | --enable-nouveau-experimental-api |
| 21 | |
| 22 | make |
| 23 | make DESTDIR=$PKG install |
| 24 | } |