wok annotate tupi/receipt @ rev 25423

wxWidgets28: update web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 17 14:38:41 2022 +0000 (2022-08-17)
parents 7c0170dd3ecc
children
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"
pascal@23844 10 WEB_SITE="https://www.maefloresta.com/"
pascal@25026 11 WGET_URL="$SF_MIRROR/tupi2d/$TARBALL"
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 \
pascal@20594 15 libogg-dev libtheora-dev libgnutls"
pankso@16152 16
pascal@24535 17 # What is the latest version available today?
pascal@24535 18 current_version()
pascal@24535 19 {
pascal@24535 20 wget -O - https://sourceforge.net/projects/tupi2d/files/Source%20Code/ 2>/dev/null | \
pascal@24535 21 sed '/tupi-/!d;/tar.gz/!d;s|.tar.gz.*||;s|.*tupi-||;q'
pascal@24535 22 }
pascal@24535 23
pankso@16152 24 # Rules to configure and make the package.
pankso@16152 25 compile_rules()
pankso@16152 26 {
pankso@16152 27 ./configure --prefix=/usr \
pankso@16152 28 $CONFIGURE_ARGS &&
pankso@16152 29 make && make install
pankso@16152 30 }
pankso@16152 31
pankso@16152 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16152 33 genpkg_rules()
pankso@16152 34 {
pankso@16152 35 mkdir -p $fs/usr/lib $fs/usr/share
pankso@16152 36 cp -a $install/usr/bin $fs/usr
pankso@16152 37 cp -a $install/usr/lib/tupi $fs/usr/lib
pankso@16152 38 cp -a $install/usr/share/tupi $fs/usr/share
pascal@19851 39 sed -i 's|/bin/bash|/bin/sh|' $fs/usr/bin/tupi
pankso@16152 40 }