wok annotate tupi/receipt @ rev 20461
py3k: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 10 18:41:29 2018 +0200 (2018-10-10) |
parents | 533c0cab6960 |
children | 70e1dc58412b |
rev | line source |
---|---|
pankso@16152 | 1 # SliTaz package receipt. |
pankso@16152 | 2 |
pankso@16152 | 3 PACKAGE="tupi" |
pankso@16152 | 4 VERSION="0.2-git03" |
pankso@16152 | 5 CATEGORY="graphics" |
pankso@16152 | 6 SHORT_DESC="2D vector animation studio" |
pankso@16152 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16152 | 8 LICENSE="GPL3" |
pankso@16152 | 9 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
pankso@16152 | 10 WEB_SITE="http://www.maefloresta.com/" |
pankso@16152 | 11 WGET_URL="http://download.berlios.de/tupi/$TARBALL/from_sourceforge" |
pankso@16152 | 12 |
pankso@16152 | 13 DEPENDS="libQtCore libQtSvg libQtOpenGL ffmpeg quazip mesa libogg libtheora libtheora-enc" |
pascal@16643 | 14 BUILD_DEPENDS="ruby-dev Qt4-dev qmake ffmpeg-dev zlib-dev quazip-dev mesa-dev \ |
pankso@16152 | 15 libogg-dev libtheora-dev" |
pankso@16152 | 16 |
pankso@16152 | 17 # Rules to configure and make the package. |
pankso@16152 | 18 compile_rules() |
pankso@16152 | 19 { |
pankso@16152 | 20 ./configure --prefix=/usr \ |
pankso@16152 | 21 $CONFIGURE_ARGS && |
pankso@16152 | 22 make && make install |
pankso@16152 | 23 } |
pankso@16152 | 24 |
pankso@16152 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16152 | 26 genpkg_rules() |
pankso@16152 | 27 { |
pankso@16152 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@16152 | 29 cp -a $install/usr/bin $fs/usr |
pankso@16152 | 30 cp -a $install/usr/lib/tupi $fs/usr/lib |
pankso@16152 | 31 cp -a $install/usr/share/tupi $fs/usr/share |
pascal@19851 | 32 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/bin/tupi |
pankso@16152 | 33 } |