wok-6.x annotate freealut/receipt @ rev 19577
unetbootin: slitaz support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 11:44:11 2016 +0100 (2016-12-24) |
parents | |
children | 9820f9ae38d5 |
rev | line source |
---|---|
al@18192 | 1 # SliTaz package receipt. |
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@18192 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18192 | 13 WGET_URL="https://github.com/vancegroup/$PACKAGE/archive/$COMMIT.tar.gz" |
al@18192 | 14 |
al@18192 | 15 DEPENDS="openal glibc-base" |
al@18192 | 16 BUILD_DEPENDS="wget cacerts cmake openal-dev" |
al@18192 | 17 |
al@18192 | 18 # Rules to configure and make the package. |
al@18192 | 19 compile_rules() |
al@18192 | 20 { |
al@18192 | 21 mkdir build; cd build |
al@18192 | 22 cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/usr" && |
al@18192 | 23 make && make install |
al@18192 | 24 } |
al@18192 | 25 |
al@18192 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18192 | 27 genpkg_rules() |
al@18192 | 28 { |
al@18192 | 29 mkdir -p $fs/usr/lib |
al@18192 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@18192 | 31 } |