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