wok-current annotate graveman/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 4c57dfb4f4c3 |
children |
rev | line source |
---|---|
allan316@4549 | 1 # SliTaz package receipt. |
allan316@4549 | 2 |
allan316@4549 | 3 PACKAGE="graveman" |
allan316@4549 | 4 VERSION="0.3.12-5" |
allan316@4549 | 5 CATEGORY="utilities" |
admin@13393 | 6 SHORT_DESC="Frontend for cd-burning tools" |
allan316@4549 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
allan316@4549 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4549 | 10 WEB_SITE="http://graveman.tuxfamily.org" |
allan316@4549 | 11 WGET_URL="$WEB_SITE/sources/$TARBALL" |
allan316@4549 | 12 |
admin@13393 | 13 DEPENDS="readom dvd+rw-tools dvd+rw-media-tools sox cdrdao libao libid3tag libmad lame libvorbis libogg flac libglade libmng" |
admin@13393 | 14 BUILD_DEPENDS="intltool libglade-dev flac-dev lame-dev libao-dev libmng-dev libogg-dev libmad-dev libvorbis-dev" |
erjo@9951 | 15 |
pascal@24425 | 16 # What is the latest version available today? |
pascal@24425 | 17 current_version() |
pascal@24425 | 18 { |
pascal@24425 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 20 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 21 } |
pascal@24425 | 22 |
allan316@4549 | 23 # Rules to configure and make the package. |
allan316@4549 | 24 compile_rules() |
allan316@4549 | 25 { |
allan316@4549 | 26 ./configure \ |
gokhlayeh@11573 | 27 --prefix=/usr $CONFIGURE_ARGS && |
gokhlayeh@11573 | 28 make && |
erjo@9951 | 29 make DESTDIR=$DESTDIR install |
allan316@4549 | 30 } |
allan316@4549 | 31 |
allan316@4549 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4549 | 33 genpkg_rules() |
allan316@4549 | 34 { |
allan316@4549 | 35 mkdir -p $fs/usr/share/locale |
pascal@15000 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 37 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15000 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 39 cp -a $install/usr/share/graveman $fs/usr/share |
pascal@15000 | 40 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@22824 | 41 sed 's|graveman-main.png|graveman48.png|' \ |
pascal@22824 | 42 -i $fs/usr/share/graveman/dialog_about.glade |
allan316@4549 | 43 } |
allan316@4549 | 44 |