SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "buildroot"

# SliTaz package receipt.

PACKAGE="buildroot"
VERSION="2019.11"
CATEGORY="development"
SHORT_DESC="Tools to build toolchains and root filesystems with uClibc."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.buildroot.org/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="${WEB_SITE}downloads/$TARBALL"

SUGGESTED="subversion bazaar git elfkickers ccache bison flex gettext texinfo"
DEPENDS="bash bc bzip2 ncurses ncurses-dev ncursesw-extra patch \
    perl python rsync slitaz-toolchain tar unzip wget pkg-config Qt4-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://www.buildroot.org/download.html 2>/dev/null | \
    sed '/buildroot-/!d;/tar.gz/!d;s|.*buildroot-||;s|.tar.*||;q'
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $src    $fs/usr/lib/buildroot
}

# Pre and post install commands for Tazpkg.
post_install()
{
    [ -L $1/usr/bin/wget ] &&
    chroot "$1/" tazpkg get-install wget --forced
    cat <<EOT
Now you can do:
$ cd /usr/lib/buildroot
$ make xconfig
EOT
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)