wok-current view mpv/receipt @ rev 19267
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 11:45:47 2016 +0300 (2016-07-04) |
parents | 0809d6ddb06f |
children | b05fba2ec312 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpv"
4 VERSION="0.8.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Video player based on ffmpeg & mplayer2"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mpv.io"
11 WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
12 WAFTOOL="waf-1.8.4"
13 EXTRA_SOURCE_FILES="$WAFTOOL"
15 DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
16 alsa-lib enca fribidi libass lua ffmpeg"
17 BUILD_DEPENDS="wget xorg-dev xorg-libXv-dev xorg-libXss-dev lua-dev ffmpeg-dev \
18 enca-dev fribidi-dev libass-dev alsa-lib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 [ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \
24 http://www.freehackers.org/~tnagy/release/$WAFTOOL
25 install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
26 ./bootstrap.py
27 ./waf configure \
28 --prefix=/usr \
29 --confdir=/etc/mpv
30 # --enable-libmpv-shared
31 ./waf build
32 ./waf install --destdir=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }