wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libmikmod"
4 VERSION="3.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Mikmod module player library."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mikmod.shlomifish.org/"
10 WGET_URL="http://mikmod.shlomifish.org/files/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS="bash"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 touch macintosh/_libmikmodversion.r
20 sed -i 's|\$(SHELL)|/bin/bash|' configure
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* /$fs/usr/lib
31 }