From 9504ae6413336343b7628531bf48b9b828c6fcb8 Mon Sep 17 00:00:00 2001
From: tnut <thierryn1 at hispeed dot ch>
Date: Sat, 6 Feb 2010 23:28:16 +0100
Subject: libmikmod, déplacé dans base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 base/libmikmod/.footprint | 19 +++++++++++++++++++
 base/libmikmod/.md5sum    |  2 ++
 base/libmikmod/Pkgfile    | 30 ++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)
 create mode 100644 base/libmikmod/.footprint
 create mode 100644 base/libmikmod/.md5sum
 create mode 100755 base/libmikmod/Pkgfile

(limited to 'base/libmikmod')

diff --git a/base/libmikmod/.footprint b/base/libmikmod/.footprint
new file mode 100644
index 000000000..7c6b6246d
--- /dev/null
+++ b/base/libmikmod/.footprint
@@ -0,0 +1,19 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/libmikmod-config
+drwxr-xr-x	root/root	usr/include/
+-rw-r--r--	root/root	usr/include/mikmod.h
+drwxr-xr-x	root/root	usr/lib/
+-rw-r--r--	root/root	usr/lib/libmikmod.a
+-rw-r--r--	root/root	usr/lib/libmikmod.la
+lrwxrwxrwx	root/root	usr/lib/libmikmod.so -> libmikmod.so.2.0.4
+lrwxrwxrwx	root/root	usr/lib/libmikmod.so.2 -> libmikmod.so.2.0.4
+-rwxr-xr-x	root/root	usr/lib/libmikmod.so.2.0.4
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/aclocal/
+-rw-r--r--	root/root	usr/share/aclocal/libmikmod.m4
+drwxr-xr-x	root/root	usr/share/info/
+-rw-r--r--	root/root	usr/share/info/mikmod.info.gz
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man1/
+-rw-r--r--	root/root	usr/share/man/man1/libmikmod-config.1.gz
diff --git a/base/libmikmod/.md5sum b/base/libmikmod/.md5sum
new file mode 100644
index 000000000..4af7f7b4e
--- /dev/null
+++ b/base/libmikmod/.md5sum
@@ -0,0 +1,2 @@
+5e56be5a32eecf3cfa195379a5ecb0ef  libmikmod-3.1.11-a.diff
+705106da305e8de191549f1e7393185c  libmikmod-3.1.11.tar.gz
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
+}
-- 
cgit v1.2.3-70-g09d2