wok-current view frei0r-plugins/receipt @ rev 25483

created recipe for py3k-six
author Hans-G?nter Theisgen
date Mon Oct 17 07:54:33 2022 +0100 (2022-10-17)
parents c9734868193e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="frei0r-plugins"
4 VERSION="1.7.0"
5 CATEGORY="multimedia"
6 TAGS="multimedia"
7 SHORT_DESC="A minimalistic plugin API for video sources and filters."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://frei0r.dyne.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://files.dyne.org/frei0r/releases/$TARBALL"
15 DEPENDS="gavl gcc83-lib-base"
16 BUILD_DEPENDS="gavl-dev gcc83"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 1.7.0
29 sed -i 's|README.md|README.txt|; \
30 s|ChangeLog|ChangeLog.txt|; \
31 s|TODO|TODO.txt|; \
32 s|AUTHORS|AUTHORS.txt|' \
33 Makefile.in
35 ./configure \
36 CC=gcc-83 \
37 CXX=g++-83 \
38 $CONFIGURE_ARGS &&
39 make -j 1 &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/frei0r-1
47 cp -a $install/usr/lib/frei0r-1/*so* $fs/usr/lib/frei0r-1
48 }