wok-6.x diff mhwaveedit/receipt @ rev 21778

linld: fix strdup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 11 14:55:02 2019 +0200 (2019-07-11)
parents eeba7ab1dffe
children ee53899c6189
line diff
     1.1 --- a/mhwaveedit/receipt	Thu Jan 24 18:16:34 2019 +0100
     1.2 +++ b/mhwaveedit/receipt	Thu Jul 11 14:55:02 2019 +0200
     1.3 @@ -1,43 +1,47 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mhwaveedit"
     1.7 -VERSION="1.4.23"
     1.8 +VERSION="1.4.24"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Lightweight sound files editor, recorder and player."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="https://github.com/magnush/mhwaveedit/"
    1.15 -WGET_URL="http://download.gna.org/mhwaveedit/$TARBALL"
    1.16 -HOST_ARCH="i486 arm"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
    1.20  
    1.21  DEPENDS="alsa-lib libxml2 expat gtk+ xorg-libX11 xorg-libXau \
    1.22 -xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
    1.23 -xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
    1.24 -xorg-libXdamage"
    1.25 +	xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
    1.26 +	xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
    1.27 +	xorg-libXdamage"
    1.28  BUILD_DEPENDS="alsa-lib-dev libxml2-dev xorg-libX11-dev gtk+-dev"
    1.29  
    1.30 +HOST_ARCH="i486 arm"
    1.31 +
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35  	chmod +x install-sh
    1.36 -	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--without-sdl \
    1.39 -		--without-libsamplerate \
    1.40 -		--without-portaudio \
    1.41 -		--without-libsndfile \
    1.42 -		--without-esound \
    1.43 +	./configure			\
    1.44 +		--prefix=/usr		\
    1.45 +		--without-sdl		\
    1.46 +		--without-libsamplerate	\
    1.47 +		--without-portaudio	\
    1.48 +		--without-libsndfile	\
    1.49 +		--without-esound	\
    1.50  		$CONFIGURE_ARGS &&
    1.51 -	make &&
    1.52 +	make -j 1 &&
    1.53  	make DESTDIR=$DESTDIR install
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57  genpkg_rules()
    1.58  {
    1.59 -	mkdir -p $fs/usr $fs/etc
    1.60 -	cp -a $install/usr/bin $fs/usr
    1.61 -	cp -a $stuff/skel $fs/etc
    1.62 +	mkdir -p $fs/usr
    1.63 +	mkdir -p $fs/etc
    1.64 +
    1.65 +	cp -a $install/usr/bin	$fs/usr
    1.66 +	cp -a $stuff/skel	$fs/etc
    1.67  	chown -R 0.0 $fs
    1.68  }