wok-4.x view rage/receipt @ rev 7754

get-opera: use deb archive, save 3MB (tanks Ruari)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 21 12:49:01 2010 +0100 (2010-12-21)
parents 9f947f5876b2
children c4c54646489a
line source
1 # SliTaz package receipt.
3 PACKAGE="rage"
4 VERSION="42165"
5 CATEGORY="multimedia"
6 SHORT_DESC="E17 rage media center."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl"
9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \
10 emotion eina-dev curl-dev openssl-dev"
11 WEB_SITE="http://www.enlightenment.org/"
12 TAGS="mp3 ogg video e17 audio music"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
19 if [ -f $TARBALL ]; then
20 tar xzf $TARBALL
21 else
22 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \
23 -r $VERSION $PACKAGE-$VERSION &&
24 tar czf $TARBALL $PACKAGE-$VERSION
25 fi
26 cd $src
27 ./autogen.sh \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/doc/rage
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/share $fs/usr
40 cp $src/README $fs/usr/share/doc/rage
41 cat > $fs/usr/share/rage/example.volumes << EOT
42 /home/user/Images
43 /home/user/Music
44 /home/user/Videos
45 EOT
46 }