wok-current view non-studio/receipt @ rev 23976
net-snmp: do not install darwin?.h
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sat Oct 31 15:07:33 2020 +0000 (2020-10-31) | 
| parents | 04916c01e7c9 | 
| children | a6b997a82f39 | 
 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="http://git.tuxfamily.org/non/non/?p=non/non.git;a=snapshot;h=$GITHASH;sf=tgz"
    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 # Rules to configure and make the package. --project=mixer
    25 compile_rules()
    26 {
    27 	./waf configure --prefix=/usr &&
    28 	./waf build &&
    29 	./waf install --destdir=${DESTDIR}
    30 }
    32 # Rules to gen a SliTaz package suitable for Tazpkg.
    33 genpkg_rules()
    34 {
    35 	mkdir -p $fs/usr/share/icons/hicolor
    36 	cp -a $install/usr/bin $fs/usr
    37 	cp -a $install/usr/share/non-* $fs/usr/share
    38 	cp -a $install/usr/share/icons/hicolor/32x32 \
    39 		$fs/usr/share/icons/hicolor
    40 }