CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 2799 -
(hide annotations)
Mon Jul 9 12:30:24 2012 UTC (11 months, 1 week ago) by acrux
File size: 562 byte(s)
Mon Jul 9 12:30:24 2012 UTC (11 months, 1 week ago) by acrux
File size: 562 byte(s)
libdrm: updated to 2.4.37
| 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 | acrux | 2799 | # Depends on: libpthread-stubs xorg-libpciaccess |
| 5 | acrux | 2099 | # PPC!=: |
| 6 | |||
| 7 | name=libdrm | ||
| 8 | acrux | 2799 | version=2.4.37 |
| 9 | acrux | 2099 | 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 | acrux | 2391 | # patch -p0 -i $SRC/pci0001.patch |
| 17 | acrux | 2099 | |
| 18 | ./configure --prefix=/usr --with-gnu-ld \ | ||
| 19 | acrux | 2703 | --disable-intel --enable-udev |
| 20 | acrux | 2099 | |
| 21 | make | ||
| 22 | make DESTDIR=$PKG install | ||
| 23 | } |