wok annotate libmikmod/receipt @ rev 15277

libmikmod: configure want macintosh/_libmikmodversion.r
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 10:11:13 2013 +0000 (2013-09-26)
parents 7c492f87262b
children 8f447cf2eee5
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="libmikmod"
pascal@13591 4 VERSION="3.2.0"
pascal@13591 5 CATEGORY="development"
pascal@13591 6 SHORT_DESC="Mikmod module player library."
pascal@13591 7 MAINTAINER="paul@slitaz.org"
pascal@13591 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13591 9 WEB_SITE="http://mikmod.shlomifish.org/"
pascal@13591 10 WGET_URL="http://mikmod.shlomifish.org/files/$TARBALL"
pascal@13591 11
pascal@13591 12 DEPENDS=""
pascal@13593 13 BUILD_DEPENDS="bash"
pascal@13591 14
pascal@13591 15 # Rules to configure and make the package.
pascal@13591 16 compile_rules()
pascal@13591 17 {
pascal@13591 18 cd $src
pascal@15277 19 touch macintosh/_libmikmodversion.r
pascal@13593 20 sed -i 's|\$(SHELL)|/bin/bash|' configure
pascal@13593 21 ./configure --prefix=/usr \
pascal@13593 22 $CONFIGURE_ARGS &&
pascal@13591 23 make && make install
pascal@13591 24 }
pascal@13591 25
pascal@13591 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 27 genpkg_rules()
pascal@13591 28 {
pascal@13591 29 mkdir -p $fs/usr/lib
pascal@13591 30 cp -a $install/usr/lib/*.so* /$fs/usr/lib
pascal@13591 31 }
pascal@13591 32