Changeset 0f496c0 for scripts/untested/blfs-scripts
- Timestamp:
- Feb 21, 2006, 12:21:40 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- fdfb73b
- Parents:
- 1c379e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-libmikmod.sh
r1c379e4 r0f496c0 17 17 cd ${PKGDIR} 18 18 19 sed -i -e "s/VERSION=10/VERSION=11/" \ 20 -e "s/sys_asoundlib/alsa_asoundlib/" \ 21 -e "s/snd_cards/snd_card_load/g" \ 22 -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \ 23 configure.in && 24 autoconf && 19 # Edits required for 3.1.11 and 3.2.0 beta (except the VERSION edit w 3.2.0) 20 case ${LIBMIKMOD_VER} in 21 3.1.11 ) 22 apply_patch libmikmod-3.1.11-a 23 24 sed -i -e "s/VERSION=10/VERSION=11/" \ 25 -e "s/sys_asoundlib/alsa_asoundlib/" \ 26 -e "s/snd_cards/snd_card_load/g" \ 27 -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \ 28 -e "s/^LIBOBJS/#LIBOBJS/g" \ 29 configure.in && 30 autoconf || barf 31 ;; 32 3.2.* ) 33 sed -i -e "s/sys_asoundlib/alsa_asoundlib/" \ 34 -e "s/snd_cards/snd_card_load/g" \ 35 -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \ 36 -e "s/^LIBOBJS/#LIBOBJS/g" \ 37 configure.in && 38 autoconf || barf 39 ;; 40 esac 41 42 sed -i -e "/libdir=/s@/lib*@/${libdirname}@g" \ 43 libmikmod-config.in 25 44 26 45 max_log_init libmikmod ${LIBMIKMOD_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 27 46 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 28 47 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 29 CFLAGS=" ${TGT_CFLAGS}" \30 CXXFLAGS=" ${TGT_CFLAGS}" \48 CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 49 CXXFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 31 50 ./configure --prefix=/usr ${extra_conf} \ 32 51 --mandir=/usr/share/man \ … … 45 64 echo " o ALL OK" || barf 46 65 47 # TODO: Need to edit /usr/bin/mxmkmf to set the correct libdir ... 48 # (it really should be setup fom --libdir ) 49 if [ "Y" = "${MULTIARCH}" ]i; then 66 if [ "Y" = "${MULTIARCH}" ]; then 50 67 use_wrapper /usr/bin/libmikmod-config 51 68 fi 52 69 53 chmod 755 /usr/${libdir}/libmikmod.so.2.* 70 case ${LIBMIKMOD_VER} in 71 3.1.* ) chmod 755 /usr/${libdirname}/libmikmod.so.2.* ;; 72 3.2.* ) chmod 755 /usr/${libdirname}/libmikmod.so.3.* ;; 73 esac
Note:
See TracChangeset
for help on using the changeset viewer.