Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (show annotations)
Sun Oct 4 14:32:10 2009 UTC (3 years, 7 months ago) by cjg
File size: 768 byte(s)
mol: added
1 # Description: A virtual machine for running MacOSX on PowerPC machine
2 # URL: http://mac-on-linux.sourceforge.net/
3 # Maintainer: Giuseppe Coviello <cjg@cruxppc.org>
4 # Packager: Giuseppe Coviello <cjg@cruxppc.org>
5 # Depends on:
6
7 name=mol
8 version=0.9.72.1
9 release=1
10 source=(http://dl.sourceforge.net/sourceforge/mac-on-linux/$name-$version.tar.bz2 \
11 $name-$version.patch.bz2 \
12 config \
13 linux-2.6.27-mol.patch)
14
15 build() {
16 cd $name-$version
17 ./configure --prefix=/usr --mandir=/usr/man --disable-nls
18 cp $SRC/config .config-ppc
19
20 make oldconfig
21 make BUILD_MODS=n
22 make DESTDIR=$PKG install
23 sed "s|/sbin/iptables|/usr/sbin/iptables|g" -i $PKG/etc/mol/tunconfig
24 cp -rv mollib/* $PKG/usr/share/mol/0.9.73/
25 rm -rf $PKG/usr/share/doc
26 mv $PKG/usr/share/man $PKG/usr
27 }