wok-next view uclibc-cross-compiler-mipsel/receipt @ rev 11671

up: slitaz-tools (4.5)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 18 02:10:42 2012 +0100 (2012-02-18)
parents 8da46cc14f57
children d357d6dbbfa8
line source
1 # SliTaz package receipt.
3 PACKAGE="uclibc-cross-compiler-mipsel"
4 VERSION="prebuilt"
5 CATEGORY="development"
6 SHORT_DESC="Toolchain for uclibc/mipsel."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="cross-compiler-mipsel"
9 TARBALL="$SOURCE.tar.bz2"
10 WEB_SITE="http://impactlinux.com/aboriginal"
11 WGET_URL="$WEB_SITE/downloads/binaries/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share $fs/usr/bin
17 cp -a $src $fs/usr/share/$PACKAGE
18 for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do
19 file=$(basename $i)
20 ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file
21 done
22 }