wok view ptxdist/receipt @ rev 25615
Add libslirp (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 12:03:26 2023 +0000 (16 months ago) |
parents | 241fb98cab1c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ptxdist"
4 VERSION="2020.12.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="bash 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 }