wok diff openal/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents 2a0479881723
children
line diff
     1.1 --- a/openal/receipt	Sun Feb 13 13:09:42 2022 +0000
     1.2 +++ b/openal/receipt	Thu Nov 17 12:13:24 2022 +0000
     1.3 @@ -1,13 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openal"
     1.7 -VERSION="1.20.1"
     1.8 +VERSION="1.22.0"
     1.9  CATEGORY="multimedia"
    1.10  TAGS="multimedia audio sound 3D"
    1.11 -SHORT_DESC="cross-platform 3D audio API."
    1.12 +SHORT_DESC="Cross-platform 3D audio API."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="LGPL2"
    1.15  WEB_SITE="https://www.openal-soft.org/"
    1.16 +REPOLOGY="openal-soft"
    1.17  
    1.18  SOURCE="openal-soft"
    1.19  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.20 @@ -30,7 +31,10 @@
    1.21  	export	CXX=g++-83
    1.22  	export	LDFLAGS="$LDFLAGS -latomic"
    1.23  
    1.24 -	cmake -DCMAKE_INSTALL_PREFIX=/usr &&
    1.25 +	mkdir	_build &&
    1.26 +	cd	_build &&
    1.27 +	cmake	..				\
    1.28 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    1.29  	make &&
    1.30  	make install
    1.31  }
    1.32 @@ -38,13 +42,14 @@
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/lib
    1.37 +	mkdir -p $fs/etc/xdg
    1.38  
    1.39 -	cp -a $install/usr/bin		$fs/usr
    1.40 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.41 +	cook_copy_folders	bin
    1.42 +	cook_copy_files		*.so*
    1.43 +	cp -a $src/alsoftrc.sample	$fs/etc/xdg/alsoft.conf
    1.44  }
    1.45  
    1.46 -# Pre and post install commands for Tazpkg.
    1.47 +# Post install commands for Tazpkg.
    1.48  post_install()
    1.49  {
    1.50  	[ -s $1/etc/rcS.conf ] &&