wok-next view uclibc-cross-compiler-mips/receipt @ rev 15168

nethack: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 23:11:23 2013 +0000 (2013-08-15)
parents 4c16797dce28
children
line source
1 # SliTaz package receipt.
3 PACKAGE="uclibc-cross-compiler-mips"
4 VERSION="prebuilt"
5 CATEGORY="development"
6 SHORT_DESC="Toolchain for uclibc/mips."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="cross-compiler-mips"
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 mips"
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 }