wok-current view uclibc-cross-compiler-armv4tl/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents 4c16797dce28
children 1a169aa4ab60
line source
1 # SliTaz package receipt.
3 PACKAGE="uclibc-cross-compiler-armv4tl"
4 VERSION="prebuilt"
5 CATEGORY="development"
6 SHORT_DESC="Toolchain for uclibc/armv4tl."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="cross-compiler-armv4tl"
10 TARBALL="$SOURCE.tar.bz2"
11 WEB_SITE="http://impactlinux.com/aboriginal"
12 WGET_URL="$WEB_SITE/downloads/binaries/cross-compiler/$TARBALL"
13 TAGS="compiler C arm"
15 SUGGESTED="uclibc-${PACKAGE##*-}"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/share $fs/usr/bin
21 cp -a $src $fs/usr/share/$PACKAGE
22 for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do
23 file=$(basename $i)
24 ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file
25 done
26 }