wok-next view freealut/receipt @ rev 20577

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