wok-6.x view uclibc-cross-compiler-armv5l/receipt @ rev 19692

ntfs-3g: update genpkg-rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 12:26:10 2017 +0100 (2017-02-13)
parents 4c16797dce28
children 1a169aa4ab60
line source
1 # SliTaz package receipt.
3 PACKAGE="uclibc-cross-compiler-armv5l"
4 VERSION="prebuilt"
5 CATEGORY="development"
6 SHORT_DESC="Toolchain for uclibc/armv5l."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="cross-compiler-armv5l"
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 }