wok view umplayer-svn/receipt @ rev 25598
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 12:03:07 2023 +0000 (16 months ago) |
parents | ad0bc3efbf37 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="umplayer-svn"
4 VERSION="181"
5 CATEGORY="multimedia"
6 SHORT_DESC="Ultimate Multimedia Player (QT MPlayer frontend)"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/umplayer/"
11 WGET_URL="subversion|https://umplayer.svn.sourceforge.net/svnroot/umplayer/umplayer/trunk"
12 BRANCH="$VERSION"
13 TAGS="player audio video movie"
15 DEPENDS="mplayer libQtCore libQtGui libQtXml"
16 BUILD_DEPENDS="subversion qt4 Qt4-dev qmake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/p/umplayer/code/HEAD/tree/ 2>/dev/null | \
22 sed '/umplayer\/code\/[0-9]/!d;s|.*code/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 make PREFIX=/usr &&
30 make PREFIX=/usr DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 rm -rf $fs/usr/share/man
40 }