wok-current annotate frei0r-plugins/receipt @ rev 25669
Add rdfind, required for firmware build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 02 20:53:40 2024 +0000 (5 months ago) |
parents | c9734868193e |
children |
rev | line source |
---|---|
jozee@6824 | 1 # SliTaz package receipt. |
jozee@6824 | 2 |
jozee@6824 | 3 PACKAGE="frei0r-plugins" |
Hans-G?nter@22782 | 4 VERSION="1.7.0" |
jozee@6824 | 5 CATEGORY="multimedia" |
Hans-G?nter@20942 | 6 TAGS="multimedia" |
Hans-G?nter@22782 | 7 SHORT_DESC="A minimalistic plugin API for video sources and filters." |
jozee@6824 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15588 | 9 LICENSE="GPL2" |
pascal@20673 | 10 WEB_SITE="https://frei0r.dyne.org/" |
Hans-G?nter@20942 | 11 |
jozee@6824 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20942 | 13 WGET_URL="https://files.dyne.org/frei0r/releases/$TARBALL" |
jozee@6824 | 14 |
Hans-G?nter@22782 | 15 DEPENDS="gavl gcc83-lib-base" |
Hans-G?nter@22782 | 16 BUILD_DEPENDS="gavl-dev gcc83" |
pascal@15588 | 17 |
pascal@24439 | 18 # What is the latest version available today? |
pascal@24439 | 19 current_version() |
pascal@24439 | 20 { |
pascal@24439 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24439 | 23 } |
pascal@24439 | 24 |
jozee@6824 | 25 # Rules to configure and make the package. |
Hans-G?nter@20942 | 26 compile_rules() |
Hans-G?nter@20942 | 27 { |
Hans-G?nter@22782 | 28 # 1.7.0 |
Hans-G?nter@22782 | 29 sed -i 's|README.md|README.txt|; \ |
Hans-G?nter@22782 | 30 s|ChangeLog|ChangeLog.txt|; \ |
Hans-G?nter@22782 | 31 s|TODO|TODO.txt|; \ |
Hans-G?nter@22782 | 32 s|AUTHORS|AUTHORS.txt|' \ |
Hans-G?nter@22782 | 33 Makefile.in |
Hans-G?nter@22782 | 34 |
Hans-G?nter@22782 | 35 ./configure \ |
Hans-G?nter@22782 | 36 CC=gcc-83 \ |
Hans-G?nter@22782 | 37 CXX=g++-83 \ |
Hans-G?nter@22782 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@20942 | 39 make -j 1 && |
Hans-G?nter@20942 | 40 make install |
jozee@6824 | 41 } |
jozee@6824 | 42 |
jozee@6824 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6824 | 44 genpkg_rules() |
jozee@6824 | 45 { |
jozee@6824 | 46 mkdir -p $fs/usr/lib/frei0r-1 |
Hans-G?nter@22782 | 47 cp -a $install/usr/lib/frei0r-1/*so* $fs/usr/lib/frei0r-1 |
jozee@6824 | 48 } |