wok-current view uclibc-cross-compiler-armv6l/receipt @ rev 13661
ccid: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 21 21:52:14 2012 +0100 (2012-11-21) |
parents | 0349ec0de5ef |
children | a436a235f098 |
line source
1 # SliTaz package receipt.
3 PACKAGE="uclibc-cross-compiler-armv6l"
4 VERSION="prebuilt"
5 CATEGORY="development"
6 SHORT_DESC="Toolchain for uclibc/armv6l."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="cross-compiler-armv6l"
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 arm"
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 }