wok-next annotate freealut/receipt @ rev 20898
cookutils: up (1086)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 21 04:56:32 2018 +0300 (2018-07-21) |
parents | a7b1395df64a |
children | d5aab818505e |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
al@18192 | 2 |
al@18192 | 3 PACKAGE="freealut" |
al@18192 | 4 COMMIT="2fa9ea27be7bb4124a878d44c14e6634f7beb1e2" |
al@18192 | 5 VERSION="${COMMIT:0:7}" |
al@18192 | 6 CATEGORY="multimedia" |
al@18192 | 7 SHORT_DESC="freealut is a free implementation of OpenAL's ALUT standard" |
al@18192 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@18192 | 9 LICENSE="LGPL" |
al@18192 | 10 #WEB_SITE="http://distro.ibiblio.org/rootlinux/rootlinux-ports/more/freealut/freealut-1.1.0/doc/alut.html" |
al@18192 | 11 WEB_SITE="https://github.com/vancegroup/freealut" |
al@20459 | 12 |
al@18192 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18192 | 14 WGET_URL="https://github.com/vancegroup/$PACKAGE/archive/$COMMIT.tar.gz" |
al@18192 | 15 |
al@20513 | 16 BUILD_DEPENDS="cmake openal-dev" |
al@20459 | 17 SPLIT="freealut-dev" |
al@18192 | 18 |
al@20459 | 19 compile_rules() { |
al@18192 | 20 mkdir build; cd build |
al@18192 | 21 cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/usr" && |
al@18192 | 22 make && make install |
al@18192 | 23 } |
al@18192 | 24 |
al@20459 | 25 genpkg_rules() { |
al@20459 | 26 case $PACKAGE in |
al@20459 | 27 freealut) |
al@20459 | 28 mkdir -p $fs/usr/lib |
al@20459 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20459 | 30 DEPENDS="openal glibc-base" |
al@20459 | 31 ;; |
al@20459 | 32 *-dev) |
al@20459 | 33 cp -a $install/* $fs |
al@20459 | 34 rm -r $fs/usr/lib/*.so* |
al@20459 | 35 DEPENDS="freealut openal-dev" |
al@20459 | 36 ;; |
al@20459 | 37 esac |
al@18192 | 38 } |