wok annotate mikmod/receipt @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (21 months ago) |
parents | affc83ed930e |
children | d3556b8f5c3d |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="mikmod" |
Hans-G?nter@21438 | 4 VERSION="3.2.8" |
pascal@13591 | 5 CATEGORY="multimedia" |
pascal@13591 | 6 SHORT_DESC="Mikmod module player." |
pascal@13591 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21438 | 9 WEB_SITE="http://mikmod.shlomifish.org/" |
Hans-G?nter@21438 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21438 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 13 |
Hans-G?nter@21438 | 14 DEPENDS="libmikmod ncurses" |
Hans-G?nter@21438 | 15 BUILD_DEPENDS="libmikmod-dev ncurses-dev" |
pascal@13591 | 16 |
pascal@24402 | 17 # What is the latest version available today? |
pascal@24402 | 18 current_version() |
pascal@24402 | 19 { |
pascal@24402 | 20 wget -O - https://sourceforge.net/projects/mikmod/files/mikmod/ 2>/dev/null | \ |
pascal@24402 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 22 sed '/scope="row/!d;s|.*/mikmod/||;s|/.*||;q' |
pascal@24402 | 23 } |
pascal@24402 | 24 |
pascal@13591 | 25 # Rules to configure and make the package. |
pascal@13591 | 26 compile_rules() |
pascal@13591 | 27 { |
pascal@17670 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21438 | 29 ./configure \ |
Hans-G?nter@21438 | 30 --prefix=/usr \ |
pascal@17670 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21438 | 32 make -j 1 && |
Hans-G?nter@21438 | 33 make install |
pascal@13591 | 34 } |
pascal@13591 | 35 |
pascal@13591 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 37 genpkg_rules() |
pascal@13591 | 38 { |
pascal@13591 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@21438 | 40 |
Hans-G?nter@21438 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21438 | 42 cp -a $install/usr/share/mikmod $fs/usr/share |
pascal@13591 | 43 } |