wok-next diff t2/receipt @ rev 20916
libopenraw, abiword: update deps; boost: pack unpacked libs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 05:42:25 2018 +0300 (2018-08-21) |
parents | 9e01bc6321ea |
children | d5aab818505e |
line diff
1.1 --- a/t2/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/t2/receipt Tue Aug 21 05:42:25 2018 +0300 1.3 @@ -1,28 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="t2" 1.8 VERSION="8.0-rc2" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="System Development Environment." 1.11 +SHORT_DESC="System Development Environment" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.t2-project.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.t2-project.org/" 1.18 WGET_URL="http://dl.t2-project.org/source/$TARBALL" 1.19 1.20 -DEPENDS="slitaz-toolchain bash ncurses" 1.21 - 1.22 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 -genpkg_rules() 1.24 -{ 1.25 - mkdir -p $fs/usr/lib 1.26 - cp -a $src $fs/usr/lib/t2 1.27 +compile_rules() { 1.28 + mkdir -p $install/usr/lib/ 1.29 + cp -a $src $install/usr/lib/t2 1.30 } 1.31 1.32 -# Pre and post install commands for Tazpkg. 1.33 -post_install() 1.34 -{ 1.35 - [ -L "$1/usr/bin/wget" ] && tazpkg get-install wget --forced --root="${1:-/}" 1.36 +genpkg_rules() { 1.37 + copy @std 1.38 + DEPENDS="slitaz-toolchain bash ncurses wget" 1.39 +} 1.40 + 1.41 +post_install() { 1.42 cat <<EOT 1.43 Now you can do: 1.44 # cd /usr/lib/t2