wok-current view tupi/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (11 months ago)
parents 7c0170dd3ecc
children
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="$SF_MIRROR/tupi2d/$TARBALL"
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 }