wok annotate nted/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents ab6a415fec2b
children
rev   line source
Hans-G?nter@25556 1 # SliTaz package receipt.
Hans-G?nter@25556 2
Hans-G?nter@25556 3 PACKAGE="nted"
Hans-G?nter@25556 4 VERSION="1.10.18"
Hans-G?nter@25556 5 CATEGORY="multimedia"
Hans-G?nter@25556 6 TAGS="music score"
Hans-G?nter@25556 7 SHORT_DESC="A musical score editor."
Hans-G?nter@25556 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@25556 9 LICENSE="GPL2+"
Hans-G?nter@25556 10 WEB_SITE="https://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml"
Hans-G?nter@25556 11
Hans-G?nter@25556 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25556 13 WGET_URL="https://vsr.informatik.tu-chemnitz.de/staff/jan/nted/sources/$TARBALL"
Hans-G?nter@25556 14
Hans-G?nter@25556 15 SUGGESTED="TiMidity++" # to play the music
Hans-G?nter@25556 16 DEPENDS="alsa-lib cairo gettext-base gtk+ harfbuzz"
Hans-G?nter@25556 17 BUILD_DEPENDS="alsa-lib-dev cairo-dev gettext gtk+-dev harfbuzz-dev"
Hans-G?nter@25556 18
pascal@25580 19 # What is the latest version available today?
pascal@25580 20 current_version()
pascal@25580 21 {
pascal@25580 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@25580 23 sed '/nted-/!d;s|.*nted-||;s|.tar.*||;q'
pascal@25580 24 }
pascal@25580 25
Hans-G?nter@25556 26 # Rules to configure and make the package.
Hans-G?nter@25556 27 compile_rules()
Hans-G?nter@25556 28 {
Hans-G?nter@25556 29 ./configure \
Hans-G?nter@25556 30 --without-doc \
Hans-G?nter@25556 31 --prefix=/usr &&
Hans-G?nter@25556 32 make &&
Hans-G?nter@25556 33 make install
Hans-G?nter@25556 34 }
Hans-G?nter@25556 35
Hans-G?nter@25556 36 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@25556 37 genpkg_rules()
Hans-G?nter@25556 38 {
Hans-G?nter@25556 39 mkdir -p $fs/usr/share/doc
Hans-G?nter@25556 40
Hans-G?nter@25556 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@25556 42 cp -a $install/usr/share/doc/nted $fs/usr/share/doc
Hans-G?nter@25556 43 cp -a $install/usr/share/nted $fs/usr/share
Hans-G?nter@25556 44 }