wok view mhwaveedit/receipt @ rev 25619

Up youtube-dl (2021.12.17)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 30 10:43:14 2023 +0000 (14 months ago)
parents ee53899c6189
children
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 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 chmod +x install-sh
33 ./configure \
34 --prefix=/usr \
35 --without-sdl \
36 --without-libsamplerate \
37 --without-portaudio \
38 --without-libsndfile \
39 --without-esound \
40 $CONFIGURE_ARGS &&
41 make -j 1 &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 mkdir -p $fs/etc
51 cp -a $install/usr/bin $fs/usr
52 cp -a $stuff/skel $fs/etc
53 chown -R 0.0 $fs
54 }