wok view xwax/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | d7bacc22f5eb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xwax"
4 VERSION="1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="An open-source Digital Vinyl System (DVS) for Linux."
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL2"
9 WEB_SITE="https://xwax.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 DEPENDS="alsa-lib libsdl libsdl-ttf"
15 BUILD_DEPENDS="alsa-lib-dev libsdl-dev libsdl-ttf-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/version/!d;s|.*version ||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --enable-alsa \
29 --prefix /usr \
30 $CONFIGURE_ARGS &&
31 LDFLAGS=-Os make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }