wok annotate rage/receipt @ rev 25677

tazpkg: upgrade core pkgs first, fix miss fr translations
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 03 19:25:21 2024 +0100 (8 months ago)
parents 261355c410d6
children
rev   line source
pankso@264 1 # SliTaz package receipt.
pankso@264 2
pankso@264 3 PACKAGE="rage"
pascal@22831 4 VERSION="0.2.0_55225"
pankso@271 5 CATEGORY="multimedia"
pankso@264 6 SHORT_DESC="E17 rage media center."
pankso@264 7 MAINTAINER="pankso@slitaz.org"
pascal@15609 8 LICENSE="BSD"
pascal@20421 9 WEB_SITE="https://www.enlightenment.org/"
pascal@22831 10 TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
pascal@22826 11 WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE"
pascal@22831 12 BRANCH="${VERSION#*_}"
pankso@12535 13 TAGS="mp3 ogg video e17 audio music"
pankso@16162 14 HOST_ARCH="i486 arm"
pankso@12535 15
pankso@2918 16 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl"
pankso@2918 17 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \
pankso@16162 18 emotion eina-dev curl-dev openssl-dev libtool jpeg-dev expat-dev glib-dev"
pankso@16162 19
pankso@16162 20 # Handle cross compilation
pankso@16162 21 case "$ARCH" in
pankso@16162 22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS subversion autoconf automake" ;;
pankso@16162 23 esac
pankso@264 24
pascal@22825 25 current_version()
pascal@22825 26 {
pascal@22829 27 local WGET_URL="https://download.enlightenment.org/rel/apps/rage/$TARBALL"
pascal@22825 28 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@22825 29 sed '/tar/!d;s|.*"rage-\([0-9\.]*\)\..*|\1|' | tail -n 1
pascal@22825 30 }
pascal@22825 31
pankso@264 32 # Rules to configure and make the package.
pankso@264 33 compile_rules()
pankso@264 34 {
pankso@2918 35 ./autogen.sh \
pankso@264 36 --prefix=/usr \
pascal@1516 37 $CONFIGURE_ARGS &&
pankso@12535 38 make && make install
pankso@264 39 }
pankso@264 40
pankso@264 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@264 42 genpkg_rules()
pankso@264 43 {
pankso@2918 44 mkdir -p $fs/usr/share/doc/rage
pankso@12535 45 cp -a $install/usr/bin $fs/usr
pankso@12535 46 cp -a $install/usr/share $fs/usr
pankso@2918 47 cp $src/README $fs/usr/share/doc/rage
pankso@2918 48 cat > $fs/usr/share/rage/example.volumes << EOT
pankso@2918 49 /home/user/Images
pankso@2918 50 /home/user/Music
pankso@2918 51 /home/user/Videos
pankso@2918 52 EOT
pankso@264 53 }