wok view rage/receipt @ rev 22826
Down rage (55225)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 07 16:15:46 2020 +0100 (2020-02-07) |
parents | 25f8eb393142 |
children | 261355c410d6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rage"
4 VERSION="55225"
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.bz2"
11 WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE"
12 BRANCH="$VERSION"
13 TAGS="mp3 ogg video e17 audio music"
14 HOST_ARCH="i486 arm"
16 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl"
17 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \
18 emotion eina-dev curl-dev openssl-dev libtool jpeg-dev expat-dev glib-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS subversion autoconf automake" ;;
23 esac
25 current_version()
26 {
27 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
28 sed '/tar/!d;s|.*"rage-\([0-9\.]*\)\..*|\1|' | tail -n 1
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./autogen.sh \
35 --prefix=/usr \
36 $CONFIGURE_ARGS &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/doc/rage
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share $fs/usr
46 cp $src/README $fs/usr/share/doc/rage
47 cat > $fs/usr/share/rage/example.volumes << EOT
48 /home/user/Images
49 /home/user/Music
50 /home/user/Videos
51 EOT
52 }