summaryrefslogtreecommitdiffstats
path: root/extra/libmikmod/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 19:17:15 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 19:17:15 +0200
commit768b234636e3f2c3ba86213b096449301d75072f (patch)
treee63a4573913ed45e9e9a476b0d911a556c08e5d5 /extra/libmikmod/Pkgfile
parentc5219364147d2f8ac0715361ec18e62a75683c59 (diff)
downloadnutyx-pakxe-768b234636e3f2c3ba86213b096449301d75072f.tar.gz
nutyx-pakxe-768b234636e3f2c3ba86213b096449301d75072f.tar.bz2
nutyx-pakxe-768b234636e3f2c3ba86213b096449301d75072f.tar.xz
nutyx-pakxe-768b234636e3f2c3ba86213b096449301d75072f.zip
Ajout de libmikmod#3.1.11-1
Diffstat (limited to 'extra/libmikmod/Pkgfile')
-rwxr-xr-xextra/libmikmod/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/libmikmod/Pkgfile b/extra/libmikmod/Pkgfile
new file mode 100755
index 000000000..f72433a68
--- /dev/null
+++ b/extra/libmikmod/Pkgfile
@@ -0,0 +1,32 @@
+# $Id: build,v 1.3 2008/06/07 02:18:51 install Exp root $
+# Description: Capable de lire des modules MOD, S3M, XM, IT, MED, MTM et 669
+# URL: http://mikmod.raphnet.net/
+# Maintainer: NuTyX
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=libmikmod
+version=3.1.11
+release=1
+source=( http://mikmod.raphnet.net/files/$name-$version.tar.gz\
+ http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff)
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../libmikmod-3.1.11-a.diff
+ sed -i -e "s/VERSION=10/VERSION=11/" \
+ -e "s/sys_asoundlib/alsa_asoundlib/" \
+ -e "s/snd_cards/snd_card_load/g" \
+ -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \
+ -e "s/^LIBOBJS/#LIBOBJS/" \
+ configure.in
+ autoconf
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ chmod 755 $PKG/usr/lib/libmikmod.so.2.0.4
+ rm $PKG/usr/share/info/dir
+}