wok-next annotate ptxdist/receipt @ rev 19503
Up firefox-official (50.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 16:45:54 2016 +0200 (2016-11-17) |
parents | dfef8de3d270 |
children | 6c12ac1293fc |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="ptxdist" |
pascal@14379 | 4 VERSION="2012.03.0" |
pascal@14379 | 5 CATEGORY="development" |
pascal@14379 | 6 SHORT_DESC="Reproducable Embedded Linux Systems." |
pascal@14379 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@14379 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14379 | 10 WEB_SITE="http://www.ptxdist.org/" |
pascal@14379 | 11 WGET_URL="${WEB_SITE}software/$PACKAGE/download/$TARBALL" |
pascal@14379 | 12 |
pascal@14379 | 13 DEPENDS="slitaz-toolchain ncurses wget ncursesw-extra" |
pascal@14379 | 14 SUGGESTED="subversion bazaar git elfkickers ccache" |
pascal@14379 | 15 |
pascal@14379 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 17 genpkg_rules() |
pascal@14379 | 18 { |
pascal@14379 | 19 mkdir -p $fs/usr/lib |
pascal@14379 | 20 cp -a $src $fs/usr/lib/buildroot |
pascal@14379 | 21 } |
pascal@14379 | 22 |
pascal@14379 | 23 # Pre and post install commands for Tazpkg. |
pascal@14379 | 24 post_install() |
pascal@14379 | 25 { |
pascal@18730 | 26 [ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}" |
pascal@14379 | 27 cat <<EOT |
pascal@14379 | 28 Now you can do: |
pascal@14379 | 29 $ cd /usr/lib/buildroot |
pascal@14379 | 30 $ make menuconfig |
pascal@14379 | 31 EOT |
pascal@14379 | 32 } |
pascal@14379 | 33 |