CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 2246 -
(show annotations)
Tue Feb 15 00:28:15 2011 UTC (2 years, 4 months ago) by acrux
File size: 983 byte(s)
Tue Feb 15 00:28:15 2011 UTC (2 years, 4 months ago) by acrux
File size: 983 byte(s)
mac-fdisk: moved to 0.13-2 with patches from Gentoo
| 1 | # Description: fdisk program specific for mac partition tables |
| 2 | # URL: http://www.debian.org |
| 3 | # Maintainer: CRUX PPC team - http://cruxppc.org/ |
| 4 | # PPC!=: |
| 5 | |
| 6 | name=mac-fdisk |
| 7 | version=0.1-13 |
| 8 | release=2 |
| 9 | source=(ftp://ftp.cruxppc.org/cruxppc/distfiles/$name\_0.1.orig.tar.gz \ |
| 10 | ftp://ftp.cruxppc.org/cruxppc/distfiles/$name\_$version.diff.gz \ |
| 11 | largerthan2gb.patch mac-fdisk-0.1-headers.patch \ |
| 12 | mac-fdisk-0.1-r6-ppc64.patch mac-fdisk-amd64.patch big_pt.patch) |
| 13 | |
| 14 | build() { |
| 15 | cd $name-0.1.orig |
| 16 | zcat ../$name\_$version.diff.gz | patch -p1 |
| 17 | |
| 18 | # gentoo patches |
| 19 | patch -p0 -i $SRC/largerthan2gb.patch |
| 20 | patch -p1 -i $SRC/mac-fdisk-0.1-headers.patch |
| 21 | patch -p1 -i $SRC/mac-fdisk-0.1-r6-ppc64.patch |
| 22 | patch -p1 -i $SRC/mac-fdisk-amd64.patch |
| 23 | patch -p0 -i $SRC/big_pt.patch |
| 24 | |
| 25 | make -j1 |
| 26 | mkdir -p $PKG/{sbin,usr/man/man8} |
| 27 | |
| 28 | make DESTDIR=$PKG install |
| 29 | install -D -m 644 mac-fdisk.8.in $PKG/usr/man/man8/mac-fdisk.8 |
| 30 | install -D -m 644 pmac-fdisk.8.in $PKG/usr/man/man8/pmac-fdisk.8 |
| 31 | } |