Difference between revisions of "Libmikmod"
From CBLFS
Jump to navigationJump to search(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://mikmod.raphnet.net/files/libmikmod- | + | | http://mikmod.raphnet.net/files/libmikmod-{{Libmikmod-Version}}.tar.gz |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://mikmod.raphnet.net/files/libmikmod- | + | | http://mikmod.raphnet.net/files/libmikmod-{{Libmikmod-Version}}-a.diff |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|Libmikmod is a sound library capable of playing audio samples as well as tracker modules. Supported module formats include MOD, S3M, XM, IT, MED, MTM and 669.}} | ||
== Dependencies == | == Dependencies == | ||
Line 20: | Line 22: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libmikmod- | + | patch -Np1 -i ../libmikmod-{{Libmikmod-Version}}-a.diff && |
sed -i -e "s/VERSION=10/VERSION=11/" \ | sed -i -e "s/VERSION=10/VERSION=11/" \ | ||
-e "s/sys_asoundlib/alsa_asoundlib/" \ | -e "s/sys_asoundlib/alsa_asoundlib/" \ | ||
Line 27: | Line 29: | ||
-e "s/^LIBOBJS/#LIBOBJS/" \ | -e "s/^LIBOBJS/#LIBOBJS/" \ | ||
configure.in && | configure.in && | ||
+ | autoconf && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 32: | Line 35: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | chmod 755 /usr/lib/libmikmod.so.2.0.4 && | ||
+ | install -v -m644 -D docs/mikmod.html \ | ||
+ | /usr/share/doc/libmikmod-{{Libmikmod-Version}}/mikmod.html | ||
== Multilib == | == Multilib == | ||
Line 40: | Line 46: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libmikmod- | + | patch -Np1 -i ../libmikmod-{{Libmikmod-Version}}-a.diff && |
sed -i -e "s/VERSION=10/VERSION=11/" \ | sed -i -e "s/VERSION=10/VERSION=11/" \ | ||
-e "s/sys_asoundlib/alsa_asoundlib/" \ | -e "s/sys_asoundlib/alsa_asoundlib/" \ | ||
Line 47: | Line 53: | ||
-e "s/^LIBOBJS/#LIBOBJS/" \ | -e "s/^LIBOBJS/#LIBOBJS/" \ | ||
configure.in && | configure.in && | ||
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | + | autoconf && |
+ | sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in && | ||
+ | CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr && | ||
make | make | ||
Line 53: | Line 61: | ||
make install && | make install && | ||
− | mv -v /usr/bin/libmikmod-config{,-32} | + | mv -v /usr/bin/libmikmod-config{,-32} && |
+ | chmod 755 /usr/lib/libmikmod.so.2.0.4 | ||
=== N32 === | === N32 === | ||
Line 59: | Line 68: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libmikmod- | + | patch -Np1 -i ../libmikmod-{{Libmikmod-Version}}-a.diff && |
sed -i -e "s/VERSION=10/VERSION=11/" \ | sed -i -e "s/VERSION=10/VERSION=11/" \ | ||
-e "s/sys_asoundlib/alsa_asoundlib/" \ | -e "s/sys_asoundlib/alsa_asoundlib/" \ | ||
Line 66: | Line 75: | ||
-e "s/^LIBOBJS/#LIBOBJS/" \ | -e "s/^LIBOBJS/#LIBOBJS/" \ | ||
configure.in && | configure.in && | ||
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | + | autoconf && |
+ | sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in && | ||
+ | CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
make | make | ||
Line 72: | Line 83: | ||
make install && | make install && | ||
− | mv -v /usr/bin/libmikmod-config{,-n32} | + | mv -v /usr/bin/libmikmod-config{,-n32} && |
+ | chmod 755 /usr/lib32/libmikmod.so.2.0.4 | ||
=== 64Bit === | === 64Bit === | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../libmikmod- | + | patch -Np1 -i ../libmikmod-{{Libmikmod-Version}}-a.diff && |
sed -i -e "s/VERSION=10/VERSION=11/" \ | sed -i -e "s/VERSION=10/VERSION=11/" \ | ||
-e "s/sys_asoundlib/alsa_asoundlib/" \ | -e "s/sys_asoundlib/alsa_asoundlib/" \ | ||
Line 84: | Line 96: | ||
-e "s/^LIBOBJS/#LIBOBJS/" \ | -e "s/^LIBOBJS/#LIBOBJS/" \ | ||
configure.in && | configure.in && | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | + | autoconf && |
+ | sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in && | ||
+ | CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
Line 91: | Line 105: | ||
make install && | make install && | ||
mv -v /usr/bin/libmikmod-config{,-64} && | mv -v /usr/bin/libmikmod-config{,-64} && | ||
− | ln -sfv multiarch_wrapper /usr/bin/libmikmod-config | + | ln -sfv multiarch_wrapper /usr/bin/libmikmod-config && |
+ | chmod 755 /usr/lib64/libmikmod.so.2.0.4 && | ||
+ | install -v -m644 -D docs/mikmod.html \ | ||
+ | /usr/share/doc/libmikmod-{{Libmikmod-Version}}/mikmod.html | ||
+ | |||
+ | [[Category:Media Libraries]] |
Latest revision as of 15:29, 19 March 2009
Download Source: | http://mikmod.raphnet.net/files/libmikmod-3.1.11.tar.gz |
---|---|
Required Patch: | http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff |
Contents
Introduction to Libmikmod
Libmikmod is a sound library capable of playing audio samples as well as tracker modules. Supported module formats include MOD, S3M, XM, IT, MED, MTM and 669.
Project Homepage: Unknown
Dependencies
Optional
Non-Multilib
Compile the package:
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 && make
Install the package
make install && chmod 755 /usr/lib/libmikmod.so.2.0.4 && install -v -m644 -D docs/mikmod.html \ /usr/share/doc/libmikmod-3.1.11/mikmod.html
Multilib
32Bit
Compile the package:
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 && sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in && CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/libmikmod-config{,-32} && chmod 755 /usr/lib/libmikmod.so.2.0.4
N32
Compile the package:
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 && sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in && CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/libmikmod-config{,-n32} && chmod 755 /usr/lib32/libmikmod.so.2.0.4
64Bit
Compile the package:
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 && sed -i 's:${exec_prefix}/lib:@libdir@:g' libmikmod-config.in && CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/libmikmod-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/libmikmod-config && chmod 755 /usr/lib64/libmikmod.so.2.0.4 && install -v -m644 -D docs/mikmod.html \ /usr/share/doc/libmikmod-3.1.11/mikmod.html