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