wok annotate oxine/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (7 months ago) |
parents | 65ff25c4de90 |
children |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="oxine" |
pascal@11226 | 4 VERSION="0.7.1" |
pascal@11226 | 5 CATEGORY="multimedia" |
pascal@11226 | 6 SHORT_DESC="oxine is a lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems." |
pascal@11226 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11226 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://oxine.sourceforge.net/" |
pascal@25465 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@11226 | 12 BUILD_DEPENDS="libcdio-dev xine-lib-dev curl-dev" |
pascal@11226 | 13 DEPENDS="libcdio xine-lib curl" |
pascal@11226 | 14 |
pascal@24361 | 15 # What is the latest version available today? |
pascal@24361 | 16 current_version() |
pascal@24361 | 17 { |
pascal@24361 | 18 wget -O - https://sourceforge.net/projects/oxine/files/oxine/ 2>/dev/null | \ |
pascal@25607 | 19 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 20 sed '/scope="row/!d;s|.*/oxine/||;s|/.*||;q' |
pascal@24361 | 21 } |
pascal@24361 | 22 |
pascal@11226 | 23 # Rules to configure and make the package. |
pascal@11226 | 24 compile_rules() |
pascal@11226 | 25 { |
pascal@11226 | 26 ./configure $CONFIGURE_ARGS && |
pascal@11226 | 27 make && make install |
pascal@11226 | 28 } |
pascal@11226 | 29 |
pascal@11226 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 31 genpkg_rules() |
pascal@11226 | 32 { |
pascal@11226 | 33 mkdir -p $fs/usr/ |
pascal@11226 | 34 cp -a $install/usr/bin $fs/usr |
pascal@11226 | 35 cp -a $install/usr/share/ $fs/usr |
pascal@11226 | 36 } |