wok-4.x diff uclibc-cross-compiler-armv5l/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
parents | |
children | df5b8ff398d7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/uclibc-cross-compiler-armv5l/receipt Thu Dec 16 17:16:06 2010 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="uclibc-cross-compiler-armv5l" 1.7 +VERSION="prebuilt" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Toolchain for uclibc/armv5l." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="cross-compiler-armv5l" 1.12 +TARBALL="$SOURCE.tar.bz2" 1.13 +WEB_SITE="http://impactlinux.com/aboriginal" 1.14 +WGET_URL="$WEB_SITE/downloads/binaries/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $SOURCE 1.20 +} 1.21 + 1.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 +genpkg_rules() 1.24 +{ 1.25 + mkdir -p $fs/usr/share $fs/usr/bin 1.26 + cp -a $SOURCE $fs/usr/share/$PACKAGE 1.27 + for i in $(cd $SOURCE ; ls bin/${PACKAGE##*-}-*); do 1.28 + file=$(basename $i) 1.29 + ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file 1.30 + done 1.31 +}