wok-next annotate libmikmod/receipt @ rev 18104
Up zsh (5.0.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:13:52 2015 +0200 (2015-06-01) |
parents | 8f447cf2eee5 |
children | 8940878905f3 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="libmikmod" |
devl547@16408 | 4 VERSION="3.3.6" |
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" |
pascal@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 10 WEB_SITE="http://mikmod.shlomifish.org/" |
devl547@16408 | 11 WGET_URL="http://downloads.sourceforge.net/project/mikmod/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="" |
pascal@13593 | 14 BUILD_DEPENDS="bash" |
pascal@13591 | 15 |
pascal@13591 | 16 # Rules to configure and make the package. |
pascal@13591 | 17 compile_rules() |
pascal@13591 | 18 { |
pascal@13591 | 19 cd $src |
pascal@15277 | 20 touch macintosh/_libmikmodversion.r |
pascal@13593 | 21 sed -i 's|\$(SHELL)|/bin/bash|' configure |
pascal@13593 | 22 ./configure --prefix=/usr \ |
pascal@13593 | 23 $CONFIGURE_ARGS && |
pascal@13591 | 24 make && make install |
pascal@13591 | 25 } |
pascal@13591 | 26 |
pascal@13591 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 28 genpkg_rules() |
pascal@13591 | 29 { |
pascal@13591 | 30 mkdir -p $fs/usr/lib |
pascal@13591 | 31 cp -a $install/usr/lib/*.so* /$fs/usr/lib |
pascal@13591 | 32 } |
pascal@13591 | 33 |