wok view ptxdist/receipt @ rev 25073
Up dropbear (2022.82)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 11:22:52 2022 +0000 (2022-06-11) |
parents | 7f9c1a9f91b2 |
children | 7d53ff17b95a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ptxdist"
4 VERSION="2020.03.0"
5 CATEGORY="development"
6 SHORT_DESC="Reproducable Embedded Linux Systems."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.ptxdist.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://public.pengutronix.de/software/ptxdist/$TARBALL"
14 DEPENDS="ncurses ncursesw-extra slitaz-toolchain wget"
15 SUGGESTED="bazaar ccache elfkickers git subversion"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $src $fs/usr/lib/buildroot
29 }
31 # Pre and post install commands for Tazpkg.
32 post_install()
33 {
34 [ -L "$1/usr/bin/wget" ] &&
35 tazpkg get-install wget --forced --root="${1:-/}"
36 cat <<EOT
37 Now you can do:
38 $ cd /usr/lib/buildroot
39 $ make menuconfig
40 EOT
41 }