wok view uclibc-cross-compiler-i486/receipt @ rev 25617
Up codec2 (1.2.0), libpri (1.6.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 26 20:46:07 2023 +0000 (14 months ago) |
parents | 8dd8bab3f0ca |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="uclibc-cross-compiler-i486"
4 VERSION="prebuilt"
5 CATEGORY="development"
6 SHORT_DESC="Toolchain for uclibc/i486."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="cross-compiler-i486"
10 TARBALL="$SOURCE.tar.bz2"
11 WEB_SITE="https://web.archive.org/web/20101022004153/http://impactlinux.com/aboriginal"
12 WGET_URL="$WEB_SITE/downloads/binaries/cross-compiler/$TARBALL"
13 TAGS="compiler C"
14 COOKOPTS="!strip"
16 SUGGESTED="uclibc-${PACKAGE##*-}"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/landley/aboriginal/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/usr/bin
29 cp -a $src $fs/usr/share/$PACKAGE
30 for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do
31 file=$(basename $i)
32 ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file
33 done
34 }