wok-6.x view libmikmod/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 91e519915db2 |
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|.*href="|"https://sourceforge.net|;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 }