# $Id: Portfile 27058 2007-07-16 22:18:57Z ryandesign@macports.org $ PortSystem 1.0 name arm-none-linux-gnueabi-runtime version cs2005q3.2 # Parameters for this port. set scratchboxversion 1.0.5 description headers and precompiled libraries arm-none-linux-gnueabi (Nokia Internet Tablet), obtained from scratchbox. long_description ${description} homepage http://www.scratchbox.org/ platforms darwin categories cross devel maintainers pguyot@kallisys.net master_sites http://www.scratchbox.org/download/files/sbox-releases/apophis/tarball/ distfiles scratchbox-toolchain-${version}-glibc-arm-${scratchboxversion}-i386.tar.gz worksrcdir scratchbox checksums \ scratchbox-toolchain-${version}-glibc-arm-${scratchboxversion}-i386.tar.gz \ md5 bbaa58b63cc6c8e5a501126886a9cea5 \ sha1 4064f834dfa9bd77945222c8259a43a5b3809d95 \ rmd160 57eb527f2aaf43c850ac9f1e9c7b9a2b890bc3a6 # Download everything to scratchbox/ dist_subdir scratchbox post-extract { # Trash gcc stuff that will be on the way. file delete -force ${worksrcpath}/compilers/cs2005q3.2-glibc-arm/lib/gcc/ file delete -force ${worksrcpath}/compilers/cs2005q3.2-glibc-arm/lib/libiberty.a } configure {} build {} destroot { # Install files by copying them. xinstall -d ${destroot}${prefix}/arm-none-linux-gnueabi/ file copy ${worksrcpath}/compilers/cs2005q3.2-glibc-arm/lib ${destroot}${prefix}/arm-none-linux-gnueabi/ file copy ${worksrcpath}/compilers/cs2005q3.2-glibc-arm/usr ${destroot}${prefix}/arm-none-linux-gnueabi/ }