wok view oxine/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 65ff25c4de90
children
line source
1 # SliTaz package receipt.
3 PACKAGE="oxine"
4 VERSION="0.7.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="oxine is a lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://oxine.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
12 BUILD_DEPENDS="libcdio-dev xine-lib-dev curl-dev"
13 DEPENDS="libcdio xine-lib curl"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/oxine/files/oxine/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/oxine/||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/ $fs/usr
36 }