wok view mikmod/receipt @ rev 24485

updated djview (4.10.6 -> 4.12)
author Hans-G?nter Theisgen
date Fri Feb 18 16:41:03 2022 +0100 (2022-02-18)
parents affc83ed930e
children d3556b8f5c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="mikmod"
4 VERSION="3.2.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="Mikmod module player."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://mikmod.shlomifish.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libmikmod ncurses"
15 BUILD_DEPENDS="libmikmod-dev ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/mikmod/files/mikmod/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/mikmod/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/mikmod $fs/usr/share
43 }