# SliTaz package receipt. PACKAGE="uclibc-cross-compiler-mips64" VERSION="prebuilt" CATEGORY="development" SHORT_DESC="Toolchain for uclibc/mips64." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" SOURCE="cross-compiler-mips64" TARBALL="$SOURCE.tar.bz2" WEB_SITE="https://web.archive.org/web/20101022004153/http://impactlinux.com/aboriginal" WGET_URL="$WEB_SITE/downloads/binaries/cross-compiler/$TARBALL" TAGS="compiler C mips" COOKOPTS="!strip" SUGGESTED="uclibc-${PACKAGE##*-}" # What is the latest version available today? current_version() { wget -O - https://github.com/landley/aboriginal/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/bin cp -a $src $fs/usr/share/$PACKAGE for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do file=$(basename $i) ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file done }