wok-6.x annotate buildroot/receipt @ rev 24448
firefox-official*: disable update by policy
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 10:43:08 2022 +0100 (2022-02-15) |
parents | bd734fc43792 |
children |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="buildroot" |
Hans-G?nter@22568 | 4 VERSION="2019.11" |
pascal@11218 | 5 CATEGORY="development" |
pascal@11218 | 6 SHORT_DESC="Tools to build toolchains and root filesystems with uClibc." |
pascal@11218 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@22568 | 9 WEB_SITE="https://www.buildroot.org/" |
Hans-G?nter@22568 | 10 |
pascal@11218 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11218 | 12 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
Hans-G?nter@22568 | 13 |
pascal@17310 | 14 SUGGESTED="subversion bazaar git elfkickers ccache bison flex gettext texinfo" |
Hans-G?nter@22568 | 15 DEPENDS="bash bc bzip2 ncurses ncurses-dev ncursesw-extra patch \ |
pascal@23972 | 16 perl python rsync slitaz-toolchain tar unzip wget pkg-config Qt4-dev" |
pascal@11218 | 17 |
pascal@24373 | 18 # What is the latest version available today? |
pascal@24373 | 19 current_version() |
pascal@24373 | 20 { |
pascal@24373 | 21 wget -O - https://www.buildroot.org/download.html 2>/dev/null | \ |
pascal@24373 | 22 sed '/buildroot-/!d;/tar.gz/!d;s|.*buildroot-||;s|.tar.*||;q' |
pascal@24373 | 23 } |
pascal@24373 | 24 |
pascal@11218 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 26 genpkg_rules() |
pascal@11218 | 27 { |
pascal@11218 | 28 mkdir -p $fs/usr/lib |
Hans-G?nter@22568 | 29 cp -a $src $fs/usr/lib/buildroot |
pascal@11218 | 30 } |
pascal@11218 | 31 |
pascal@11218 | 32 # Pre and post install commands for Tazpkg. |
pascal@11218 | 33 post_install() |
pascal@11218 | 34 { |
Hans-G?nter@22568 | 35 [ -L $1/usr/bin/wget ] && |
Hans-G?nter@22568 | 36 chroot "$1/" tazpkg get-install wget --forced |
pascal@11218 | 37 cat <<EOT |
pascal@11218 | 38 Now you can do: |
pascal@11218 | 39 $ cd /usr/lib/buildroot |
pascal@23972 | 40 $ make xconfig |
pascal@11218 | 41 EOT |
pascal@11218 | 42 } |