wok-6.x view uclibc-cross-compiler-mipsel/receipt @ rev 14731

xorg-xf86-video-ati: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 13 11:00:23 2013 +0200 (2013-06-13)
parents 0349ec0de5ef
children a436a235f098
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/cross-compiler/$TARBALL"
12 TAGS="compiler C mips"
14 SUGGESTED="uclibc-${PACKAGE##*-}"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share $fs/usr/bin
20 cp -a $src $fs/usr/share/$PACKAGE
21 for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do
22 file=$(basename $i)
23 ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file
24 done
25 }