summaryrefslogtreecommitdiffstats
path: root/base/libmikmod/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-06 23:28:16 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-06 23:28:16 +0100
commit9504ae6413336343b7628531bf48b9b828c6fcb8 (patch)
tree15f66873222b5d65f4e809966a8ddd75c5deb712 /base/libmikmod/Pkgfile
parent4c366e3701236e18f4a7dcca7d8268fad2dc6170 (diff)
downloadnutyx-pakxe-9504ae6413336343b7628531bf48b9b828c6fcb8.tar.gz
nutyx-pakxe-9504ae6413336343b7628531bf48b9b828c6fcb8.tar.bz2
nutyx-pakxe-9504ae6413336343b7628531bf48b9b828c6fcb8.tar.xz
nutyx-pakxe-9504ae6413336343b7628531bf48b9b828c6fcb8.zip
libmikmod, déplacé dans base
Diffstat (limited to 'base/libmikmod/Pkgfile')
-rwxr-xr-xbase/libmikmod/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/base/libmikmod/Pkgfile b/base/libmikmod/Pkgfile
new file mode 100755
index 000000000..b082600e2
--- /dev/null
+++ b/base/libmikmod/Pkgfile
@@ -0,0 +1,30 @@
+# 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
+
+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
+}