CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 632 -
(show annotations)
Sun Oct 4 15:05:11 2009 UTC (3 years, 8 months ago) by cjg
File size: 684 byte(s)
Sun Oct 4 15:05:11 2009 UTC (3 years, 8 months ago) by cjg
File size: 684 byte(s)
pseries utils initial commit
| 1 | # Description: Platform diagnostics on Linux for Power |
| 2 | # URL: http://linux-diag.sourceforge.net/ppc64-diag/ |
| 3 | # Maintainer: CRUX PPC Team |
| 4 | # Depends on: servicelog |
| 5 | # PPC!=: |
| 6 | |
| 7 | name=ppc64-diag |
| 8 | version=2.3.1 |
| 9 | release=1 |
| 10 | source=(http://dl.sourceforge.net/sourceforge/linux-diag/$name-$version.tar.gz \ |
| 11 | $name-$version.patch \ |
| 12 | rtas_errd) |
| 13 | |
| 14 | build () { |
| 15 | cd $name-$version |
| 16 | patch -p1 < $SRC/$name-$version.patch |
| 17 | sed -i "s|usr/share|usr|g" rules.mk |
| 18 | make -j1 |
| 19 | make DESTDIR=$PKG install |
| 20 | mkdir -p $PKG/var/lock/subsys |
| 21 | touch $PKG/var/lock/subsys/rtas_errd |
| 22 | rm -rf $PKG/usr/{share,doc} |
| 23 | rm -rf $PKG/etc/init.d |
| 24 | mkdir $PKG/etc/rc.d |
| 25 | install -D -m 0755 $SRC/rtas_errd $PKG/etc/rc.d/rtas_errd |
| 26 | } |
| 27 |