wok-current annotate non-studio/receipt @ rev 24902
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 09:39:20 2022 +0000 (2022-04-09) |
parents | db5d78146275 |
children | 77ec99338524 |
rev | line source |
---|---|
pankso@16378 | 1 # SliTaz package receipt. |
pankso@16378 | 2 |
pankso@16378 | 3 PACKAGE="non-studio" |
pascal@16387 | 4 GITHASH="de7c7ae0b8ae33e06c9ebf31bcc4a97dfa614532" |
pascal@16387 | 5 VERSION="${GITHASH:0:7}" |
pankso@16378 | 6 CATEGORY="multimedia" |
pankso@16378 | 7 SHORT_DESC="Complete studio, powerful, fast and light" |
pankso@16378 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16378 | 9 LICENSE="GPL3" |
pascal@16387 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16378 | 11 WEB_SITE="http://non.tuxfamily.org" |
pascal@16387 | 12 WGET_URL="http://git.tuxfamily.org/non/non/?p=non/non.git;a=snapshot;h=$GITHASH;sf=tgz" |
pankso@16378 | 13 |
pankso@16378 | 14 DEPENDS="ntk libsndfile libsigc++ liblrdf liblo jack-audio-connection-kit \ |
pankso@16378 | 15 ladspa" |
pankso@16378 | 16 BUILD_DEPENDS="ntk-dev libsndfile-dev libsigc++-dev liblrdf-dev liblo-dev \ |
pankso@16378 | 17 jack-audio-connection-kit-dev ladspa-dev" |
pankso@16378 | 18 |
pankso@16378 | 19 # Handle cross compilation |
pankso@16378 | 20 case "$ARCH" in |
pankso@16378 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python" |
pankso@16378 | 22 esac |
pankso@16378 | 23 |
pascal@24902 | 24 # What is the latest version available today? |
pascal@24902 | 25 current_version() |
pascal@24902 | 26 { |
pascal@24902 | 27 wget -O - https://non.tuxfamily.org/wiki/News 2>/dev/null | \ |
pascal@24902 | 28 sed '/nnouncement/!d;s|.*nnouncement v||;s|<.*||;q' |
pascal@24902 | 29 } |
pascal@24902 | 30 |
pankso@16378 | 31 # Rules to configure and make the package. --project=mixer |
pankso@16378 | 32 compile_rules() |
pankso@16378 | 33 { |
pankso@16378 | 34 ./waf configure --prefix=/usr && |
pankso@16378 | 35 ./waf build && |
pankso@16378 | 36 ./waf install --destdir=${DESTDIR} |
pankso@16378 | 37 } |
pankso@16378 | 38 |
pankso@16378 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16378 | 40 genpkg_rules() |
pankso@16378 | 41 { |
pankso@16378 | 42 mkdir -p $fs/usr/share/icons/hicolor |
pankso@16378 | 43 cp -a $install/usr/bin $fs/usr |
pankso@16378 | 44 cp -a $install/usr/share/non-* $fs/usr/share |
pankso@16378 | 45 cp -a $install/usr/share/icons/hicolor/32x32 \ |
pankso@16378 | 46 $fs/usr/share/icons/hicolor |
pankso@16378 | 47 } |