Difference between revisions of "Libmikmod"

From CBLFS
Jump to navigationJump to search
 
Line 27: Line 27:
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
     configure.in &&
 
     configure.in &&
 +
autoconf &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 47: Line 48:
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
     configure.in &&
 
     configure.in &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
autoconf &&
 +
  CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 66: Line 68:
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
     configure.in &&
 
     configure.in &&
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
autoconf &&
 +
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 84: Line 87:
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
         -e "s/^LIBOBJS/#LIBOBJS/" \
 
     configure.in &&
 
     configure.in &&
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
autoconf &&
 +
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 11:51, 7 October 2006

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

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

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 &&
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/libmikmod-config{,-32}

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 &&
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}

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 &&
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
Retrieved from "?title=Libmikmod&oldid=2556"