wok view libmikmod/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 65d7d867e0c1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmikmod"
4 VERSION="3.3.11.1"
5 CATEGORY="development"
6 SHORT_DESC="Mikmod module player library."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2 LGPL2.1"
9 WEB_SITE="http://mikmod.shlomifish.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/mikmod/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="bash"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/mikmod/files/libmikmod/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/libmikmod/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 touch macintosh/_libmikmodversion.r
29 sed -i 's|\$(SHELL)|/bin/bash|' configure
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* /$fs/usr/lib
43 }