wok-current view oxine/receipt @ rev 24396
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 12:15:27 2022 +0000 (2022-02-08) |
parents | 380ffe05937a |
children | 7dd01dedad38 |
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="http://oxine.sourceforge.net/"
11 WGET_URL="http://downloads.sourceforge.net/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|.*href="|"https://sourceforge.net|;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 }