SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ptxdist"

# SliTaz package receipt.

PACKAGE="ptxdist"
VERSION="2020.12.0"
CATEGORY="development"
SHORT_DESC="Reproducable Embedded Linux Systems."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.ptxdist.org/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://public.pengutronix.de/software/ptxdist/$TARBALL"

DEPENDS="bash ncurses ncursesw-extra slitaz-toolchain wget"
SUGGESTED="bazaar ccache elfkickers git subversion"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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" ] &&
    tazpkg get-install wget --forced --root="${1:-/}"
    cat <<EOT
Now you can do:
$ cd /usr/lib/buildroot
$ make menuconfig
EOT
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)