CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 573 -
(show annotations)
Sun Oct 4 15:04:33 2009 UTC (3 years, 7 months ago) by cjg
File size: 765 byte(s)
Sun Oct 4 15:04:33 2009 UTC (3 years, 7 months ago) by cjg
File size: 765 byte(s)
libffi: updated to 4.3.3
| 1 | # Description: A portable, high level programming interface to various calling conventions. |
| 2 | # URL: http://sourceware.org/libffi |
| 3 | # Maintainer: Giuseppe Coviello <cjg@cruxppc.org> |
| 4 | # Packager: Giuseppe Coviello <cjg@cruxppc.org> |
| 5 | # Depends on: |
| 6 | |
| 7 | name=libffi |
| 8 | version=4.3.3 |
| 9 | release=1 |
| 10 | source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$version/gcc-{core,java}-$version.tar.bz2 \ |
| 11 | libffi.pc) |
| 12 | |
| 13 | build() { |
| 14 | mkdir gcc-build |
| 15 | cd gcc-build |
| 16 | ../gcc-$version/libffi/configure --prefix=/usr \ |
| 17 | --enable-shared --libdir=/usr/lib --disable-multilib |
| 18 | make |
| 19 | make DESTDIR=$PKG install |
| 20 | mv $PKG/usr/lib/gcc/$version/include $PKG/usr/include |
| 21 | rm -rf $PKG/usr/lib/gcc |
| 22 | mkdir -p $PKG/usr/lib/pkgconfig |
| 23 | install -m644 $SRC/libffi.pc \ |
| 24 | $PKG/usr/lib/pkgconfig/libffi.pc |
| 25 | } |
| 26 |