wok-current view mhwaveedit/receipt @ rev 24398
updated ccache (3.7.7 -> 4.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 14:13:40 2022 +0100 (2022-02-08) |
parents | c4940b97a5cf |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mhwaveedit"
4 VERSION="1.4.24"
5 CATEGORY="multimedia"
6 SHORT_DESC="Lightweight sound files editor, recorder and player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/magnush/mhwaveedit/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
14 DEPENDS="alsa-lib libxml2 expat gtk+ xorg-libX11 xorg-libXau \
15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
16 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
17 xorg-libXdamage"
18 BUILD_DEPENDS="alsa-lib-dev libxml2-dev xorg-libX11-dev gtk+-dev"
20 HOST_ARCH="i486 arm"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 chmod +x install-sh
32 ./configure \
33 --prefix=/usr \
34 --without-sdl \
35 --without-libsamplerate \
36 --without-portaudio \
37 --without-libsndfile \
38 --without-esound \
39 $CONFIGURE_ARGS &&
40 make -j 1 &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
48 mkdir -p $fs/etc
50 cp -a $install/usr/bin $fs/usr
51 cp -a $stuff/skel $fs/etc
52 chown -R 0.0 $fs
53 }