CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 2099 -
(hide annotations)
Sun Dec 12 11:59:16 2010 UTC (2 years, 5 months ago) by acrux
File size: 582 byte(s)
Sun Dec 12 11:59:16 2010 UTC (2 years, 5 months ago) by acrux
File size: 582 byte(s)
initial import
| 1 | acrux | 2099 | # 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.23 | ||
| 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 | } |