diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /libmikmod/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'libmikmod/Pkgfile')
-rwxr-xr-x | libmikmod/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libmikmod/Pkgfile b/libmikmod/Pkgfile new file mode 100755 index 000000000..b082600e2 --- /dev/null +++ b/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 +} |