wok view rage/receipt @ rev 22825

Up rage (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 07 12:27:53 2020 +0100 (2020-02-07)
parents 86790a278e70
children d77b60725297
line source
1 # SliTaz package receipt.
3 PACKAGE="rage"
4 VERSION="0.3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="E17 rage media center."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.enlightenment.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://download.enlightenment.org/rel/apps/rage/$TARBALL"
12 TAGS="mp3 ogg video e17 audio music"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl"
16 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \
17 emotion eina-dev curl-dev openssl-dev libtool jpeg-dev expat-dev glib-dev"
19 # Handle cross compilation
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS subversion autoconf automake" ;;
22 esac
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
27 sed '/tar/!d;s|.*"rage-\([0-9\.]*\)\..*|\1|' | tail -n 1
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./autogen.sh \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/doc/rage
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share $fs/usr
45 cp $src/README $fs/usr/share/doc/rage
46 cat > $fs/usr/share/rage/example.volumes << EOT
47 /home/user/Images
48 /home/user/Music
49 /home/user/Videos
50 EOT
51 }