wok-current annotate libmikmod/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
parents 91e519915db2
children
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="libmikmod"
Hans-G?nter@21255 4 VERSION="3.3.11.1"
pascal@13591 5 CATEGORY="development"
pascal@13591 6 SHORT_DESC="Mikmod module player library."
pascal@13591 7 MAINTAINER="paul@slitaz.org"
pascal@15473 8 LICENSE="LGPL2 LGPL2.1"
Hans-G?nter@21255 9 WEB_SITE="http://mikmod.shlomifish.org/"
Hans-G?nter@21255 10
pascal@13591 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21255 12 WGET_URL="$SF_MIRROR/mikmod/$PACKAGE/$VERSION/$TARBALL"
pascal@13591 13
pascal@13591 14 DEPENDS=""
pascal@13593 15 BUILD_DEPENDS="bash"
pascal@13591 16
pascal@24411 17 # What is the latest version available today?
pascal@24411 18 current_version()
pascal@24411 19 {
pascal@24411 20 wget -O - https://sourceforge.net/projects/mikmod/files/libmikmod/ 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24411 22 sed '/scope="row/!d;s|.*/libmikmod/||;s|/.*||;q'
pascal@24411 23 }
pascal@24411 24
pascal@13591 25 # Rules to configure and make the package.
pascal@13591 26 compile_rules()
pascal@13591 27 {
pascal@15277 28 touch macintosh/_libmikmodversion.r
pascal@13593 29 sed -i 's|\$(SHELL)|/bin/bash|' configure
Hans-G?nter@21255 30
Hans-G?nter@21255 31 ./configure \
Hans-G?nter@21255 32 --prefix=/usr \
pascal@13593 33 $CONFIGURE_ARGS &&
Hans-G?nter@21255 34 make -j 1 &&
Hans-G?nter@21255 35 make install
pascal@13591 36 }
pascal@13591 37
pascal@13591 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 39 genpkg_rules()
pascal@13591 40 {
pascal@13591 41 mkdir -p $fs/usr/lib
pascal@13591 42 cp -a $install/usr/lib/*.so* /$fs/usr/lib
pascal@13591 43 }