wok view rage/receipt @ rev 24228
syslinux: add apple partitions (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 01 11:57:50 2022 +0000 (2022-01-01) |
parents | 261355c410d6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rage"
4 VERSION="0.2.0_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 local WGET_URL="https://download.enlightenment.org/rel/apps/rage/$TARBALL"
28 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
29 sed '/tar/!d;s|.*"rage-\([0-9\.]*\)\..*|\1|' | tail -n 1
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./autogen.sh \
36 --prefix=/usr \
37 $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/doc/rage
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share $fs/usr
47 cp $src/README $fs/usr/share/doc/rage
48 cat > $fs/usr/share/rage/example.volumes << EOT
49 /home/user/Images
50 /home/user/Music
51 /home/user/Videos
52 EOT
53 }