wok annotate freealut/receipt @ rev 24930
updated mtpaint (3.49.25 -> 3.50)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 16:37:38 2022 +0100 (2022-04-13) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
al@18192 | 1 # SliTaz package receipt. |
al@18192 | 2 |
al@18192 | 3 PACKAGE="freealut" |
pascal@21242 | 4 VERSION="1.1.0" |
al@18192 | 5 CATEGORY="multimedia" |
al@18192 | 6 SHORT_DESC="freealut is a free implementation of OpenAL's ALUT standard" |
al@18192 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18192 | 8 LICENSE="LGPL" |
al@18192 | 9 WEB_SITE="https://github.com/vancegroup/freealut" |
pascal@21242 | 10 TARBALL="${PACKAGE}_${VERSION//./_}.tar.gz" |
pascal@21242 | 11 WGET_URL="$WEB_SITE/archive/$TARBALL" |
al@18192 | 12 |
al@18192 | 13 DEPENDS="openal glibc-base" |
al@18192 | 14 BUILD_DEPENDS="wget cacerts cmake openal-dev" |
al@18192 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;/freealut_/!d;s|.*/freealut_\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
al@18192 | 22 # Rules to configure and make the package. |
al@18192 | 23 compile_rules() |
al@18192 | 24 { |
al@18192 | 25 mkdir build; cd build |
al@18192 | 26 cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/usr" && |
al@18192 | 27 make && make install |
al@18192 | 28 } |
al@18192 | 29 |
al@18192 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18192 | 31 genpkg_rules() |
al@18192 | 32 { |
al@18192 | 33 mkdir -p $fs/usr/lib |
al@18192 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@18192 | 35 } |