wok-next diff alure/receipt @ rev 20992

eduke32: simplify bdeps, fix build for i486
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 11:45:29 2018 +0300 (2018-10-04)
parents
children d5aab818505e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alure/receipt	Thu Oct 04 11:45:29 2018 +0300
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="alure"
     1.7 +VERSION="1.2"
     1.8 +CATEGORY="sound"
     1.9 +SHORT_DESC="Utility library to help manage common tasks with OpenAL applications"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="http://kcat.strangesoft.net/alure.html"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="http://kcat.strangesoft.net/alure-releases/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="cmake openal-dev   libsndfile-dev libvorbis-dev mpg123-dev \
    1.18 +fluidsynth-dev"
    1.19 +SPLIT="alure-dev"
    1.20 +
    1.21 +compile_rules() {
    1.22 +	mkdir build
    1.23 +	cd    build
    1.24 +	cmake \
    1.25 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.26 +		.. &&
    1.27 +	make &&
    1.28 +	make install
    1.29 +}
    1.30 +
    1.31 +genpkg_rules() {
    1.32 +	case $PACKAGE in
    1.33 +		alure)
    1.34 +			copy @std
    1.35 +			DEPENDS="openal"
    1.36 +			SUGGESTED="libsndfile libvorbis mpg123 fluidsynth"
    1.37 +			;;
    1.38 +		*-dev)
    1.39 +			copy @dev
    1.40 +			DEPENDS="alure openal-dev"
    1.41 +			;;
    1.42 +	esac
    1.43 +}