diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 16:34:03 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 16:34:03 +0200 |
commit | 8675f957dd38b7d7aa3eda0d4eac306659e19471 (patch) | |
tree | d5a8cd16ed832b5078feb1f3c06c0480ff0dec3e /extra/libmikmod/Pkgfile | |
parent | 146832f962d6af5999dc625f533224216c7fb7a1 (diff) | |
download | nutyx-pakxe-8675f957dd38b7d7aa3eda0d4eac306659e19471.tar.gz nutyx-pakxe-8675f957dd38b7d7aa3eda0d4eac306659e19471.tar.bz2 nutyx-pakxe-8675f957dd38b7d7aa3eda0d4eac306659e19471.tar.xz nutyx-pakxe-8675f957dd38b7d7aa3eda0d4eac306659e19471.zip |
libmikmod dans extra
Diffstat (limited to 'extra/libmikmod/Pkgfile')
-rwxr-xr-x | extra/libmikmod/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/libmikmod/Pkgfile b/extra/libmikmod/Pkgfile new file mode 100755 index 000000000..b082600e2 --- /dev/null +++ b/extra/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 +} |