wok-current view tupi/receipt @ rev 24577
updated ftgl and ftgl-dev (2.1.3-rc5 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 11:03:39 2022 +0100 (2022-02-27) |
parents | c02f18f9e836 |
children | 505d1daeed6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="tupi"
4 VERSION="0.2-git03"
5 CATEGORY="graphics"
6 SHORT_DESC="2D vector animation studio"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
10 WEB_SITE="https://www.maefloresta.com/"
11 WGET_URL="http://download.berlios.de/tupi/$TARBALL/from_sourceforge"
13 DEPENDS="libQtCore libQtSvg libQtOpenGL ffmpeg quazip mesa libogg libtheora libtheora-enc"
14 BUILD_DEPENDS="ruby-dev Qt4-dev qmake ffmpeg-dev zlib-dev quazip-dev mesa-dev \
15 libogg-dev libtheora-dev libgnutls"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/tupi2d/files/Source%20Code/ 2>/dev/null | \
21 sed '/tupi-/!d;/tar.gz/!d;s|.tar.gz.*||;s|.*tupi-||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/tupi $fs/usr/lib
38 cp -a $install/usr/share/tupi $fs/usr/share
39 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/bin/tupi
40 }