wok-next annotate ptxdist/receipt @ rev 18472
ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 05 01:10:26 2015 +0300 (2015-10-05) |
parents | 7896f0694ef6 |
children | 9e01bc6321ea |
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@17552 | 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 |