LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 青铜镜

[大话LFS/BLFS]从LFS到BLFS轻松上手——关于编译LFS/BLFS的可行性报告

[复制链接]
 楼主| 发表于 2007-5-30 16:16:58 | 显示全部楼层
[color="Red"]第二章 支持库


建立一个文件夹,取名02G,将本章所有的软件包和脚本放在里面,安装时,只要进入该文件夹,按先后顺序执行脚本文件便可以了。主要安装的软件包有:pkg-config-0.20.tar.bz2;glib-2.10.3.tar.bz2;atk-1.11.4.tar.bz2;cairo-1.2.4.tar.gz;pango-1.12.3.tar.bz2;tiff-3.8.2.tar.bz2;gtk+-2.8.20.tar.bz2等七个包。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-30 16:20:28 | 显示全部楼层
02.01
pkg-config-0.20
http://pkgconfig.freedesktop.org/releases/pkg-config-0.20.tar.gz
脚本编号:01pkg-config-0.20
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf pkg-config-0.20.tar.bz2
cd pkg-config-0.20
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf pkg-config-0.20
exit
------------------------------------------------------------------------------------


02.02
glib-2.10.3
http://ftp.gnome.org/pub/gnome/s ... glib-2.10.3.tar.bz2
脚本编号:02glib-2.10.3
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf glib-2.10.3.tar.bz2
cd glib-2.10.3
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf glib-2.10.3
exit
------------------------------------------------------------------------------------

02.03
ATK-1.11.4
http://ftp.gnome.org/pub/gnome/s ... /atk-1.11.4.tar.bz2
脚本编号:03ATK-1.11.4
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf atk-1.11.4.tar.bz2
cd atk-1.11.4
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf atk-1.11.4
exit
------------------------------------------------------------------------------------


02.04
cairo-1.2.4
http://cairographics.org/releases/cairo-1.2.4.tar.gz
脚本编号:04cairo-1.2.4
------------------------------------------------------------------------------------

#!/bin/sh
set -e

tar xvf cairo-1.2.4.tar.gz
cd cairo-1.2.4
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf cairo-1.2.4
exit
------------------------------------------------------------------------------------


02.05
Pango-1.12.3
http://ftp.gnome.org/pub/gnome/s ... ango-1.12.3.tar.bz2  
脚本编号:05Pango-1.12.3
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf pango-1.12.3.tar.bz2
cd pango-1.12.3
./configure --prefix=/usr --sysconfdir=/etc &&
make
make install
cd ..
rm -rf pango-1.12.3
exit
------------------------------------------------------------------------------------


02.06
libtiff-3.8.2
http://libtiff.maptools.org/dl/tiff-3.8.2.tar.gz
脚本编号:06libtiff-3.8.2
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf tiff-3.8.2.tar.bz2
cd tiff-3.8.2
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf tiff-3.8.2
exit
------------------------------------------------------------------------------------


02.07
GTK+-2.8.20
http://ftp.gnome.org/pub/gnome/s ... gtk+-2.8.20.tar.bz2
脚本编号:07GTK+-2.8.20
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf gtk+-2.8.20.tar.bz2
cd gtk+-2.8.20
./configure --prefix=/usr --sysconfdir=/etc &&
make
make install &&
install -v -m755 -d /usr/share/doc/gtk+-2.8.20/{faq,tutorial} &&
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.8.20/faq &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.8.20/tutorial
cd ..
rm -rf gtk+-2.8.20
exit
------------------------------------------------------------------------------------
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-30 16:35:53 | 显示全部楼层
Post by youbest
狂汗中......


唐师父说:
“冲动是魔鬼……”


要克制呀……
冲动是魔鬼!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-30 17:09:37 | 显示全部楼层

KDE真的不错

KDE真的不错!

那家伙
那是相当的不错!

konqueror
要是能够挂载字幕的话
俺也不就用再安装播放器了
konqueror能不能挂载字幕?
哪位朋友知道么?
^_^

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-5-30 22:59:22 | 显示全部楼层
有几次,我编译的 KDE-3.5.6 没的按屏幕打印键截屏功能。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-31 07:47:37 | 显示全部楼层
Post by huohuliaisili
有几次,我编译的 KDE-3.5.6 没的按屏幕打印键截屏功能。



后面有相应的介绍
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-31 07:50:07 | 显示全部楼层
[color="Red"]第三章   装QT



建立一个文件夹,取名03Q,将本章所有的软件包和脚本放在里面,安装时,只要进入该文件夹,按先后顺序执行脚本文件便可以了。还有,将下载好的blfs-bootscripts-20060910.tar.bz2这个包解压缩后,放在另外独立的地方。主要安装的软件包有:jpegsrc.v6b.tar.gz;lcms-1.15.tar.gz;libmng-1.0.9.tar.gz;nas-1.7.src.tar.gz;qt-x11-free-3.3.7.tar.bz2等五个包。


03.01
libjpeg-6b
http://www.ijg.org/files/jpegsrc.v6b.tar.gz
脚本编号:01libjpeg-6b
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar xvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure --prefix=/usr --enable-static --enable-shared &&
make
make install
cd ..
rm -rf jpeg-6b
exit
------------------------------------------------------------------------------------


03.02
little cms-1.15
http://www.littlecms.com/lcms-1.15.tar.gz
脚本编号:02little cms-1.15
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar xvf lcms-1.15.tar.gz
cd lcms-1.15
./configure --prefix=/usr &&
make
make install &&
install -v -m755 -d /usr/share/doc/lcms-1.15 &&
install -v -m644 README.1ST doc/* /usr/share/doc/lcms-1.15
cd ..
rm -rf lcms-1.15
exit
------------------------------------------------------------------------------------


03.03
libmng-1.0.9
http://downloads.sourceforge.net/libmng/libmng-1.0.9.tar.gz
脚本编号:03libmng-1.0.9
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar xvf libmng-1.0.9.tar.gz
cd libmng-1.0.9
cp makefiles/makefile.linux Makefile &&
make
make prefix=/usr install &&
install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
install -v -m755 -d /usr/share/doc/libmng-1.0.9 &&
install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9
cd ..
rm -rf libmng-1.0.9
exit
------------------------------------------------------------------------------------


03.04
blfs-bootscripts-20060910.tar.bz2
http://www.linuxfromscratch.org/blfs...060910.tar.bz2
脚本编号:04blfs-bootscripts-20060910
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf blfs-bootscripts-20060910.tar.bz2
exit
------------------------------------------------------------------------------------


03.05
nas-1.7
ftp://ftp.fu-berlin.de/unix/linux/mi...1.7.src.tar.gz
http://www.linuxfromscratch.org/patc...7-gcc4-1.patch

03.05.01 nas-1.7
脚本编号:05.01nas-1.7
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar xvf nas-1.7.src.tar.gz
cd nas-1.7
patch -Np1 -i ../nas-1.7-gcc4-1.patch &&
xmkmf &&
make World
make install install.man &&
install -v -m755 -d /usr/share/doc/nas-1.7/pdf &&
install -v -m644 doc/pdf/* /usr/share/doc/nas-1.7/pdf &&
install -v -m644 doc/{README,actions,*.{ps,txt}} \
/usr/share/doc/nas-1.7
install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf
cd ..
rm -rf nas-1.7
exit
------------------------------------------------------------------------------------

03.05.02 nas-1.7
脚本编号:05.02nas-1.7
------------------------------------------------------------------------------------
#!/bin/sh
set -e

cd ../blfs-bootscripts-20060910
make install-nas
cd ..
exit
------------------------------------------------------------------------------------


03.06
qt-3.3.7
http://ftp.silug.org/mirrors/ftp.tro...-3.3.7.tar.bz2
脚本编号:06qt-3.3.7
------------------------------------------------------------------------------------
#!/bin/sh
set -e

cat > ~/.login << "EOF" &&
exec QTDIR=/opt/qt-3.3.7
exec PATH=$QTDIR/binPATH
exec MANPATH=$QTDIR/manMANPATH
exec LD_LIBRARY_PATH=$QTDIR/lib/libqt-mt.soLD_LIBRARY_PATH
EOF
cat > ~/.profile << "EOF" &&
export QTDIR=/opt/qt3.3.7
export PATH=$QTDIR/binPATH
export MANPATH=$QTDIR/manMANPATH
export LD_LIBRARY_PATH=$QTDIR/libLD_LIBRARY_PATH
EOF
source ~/.profile
tar -jxvf qt-x11-free-3.3.7.tar.bz2
cd qt-x11-free-3.3.7

export QTDIR=$PWD &&
export LD_LIBRARY_PATH=$PWD/libLD_LIBRARY_PATH &&
export PATH=$PWD/binPATH   
[color="Red"] (谢谢晨想姐姐的纠正!)

./configure -prefix /opt/qt-3.3.7 -sysconfdir /etc/qt \
                  -qt-gif -system-zlib -system-libpng \
                  -system-libjpeg -system-libmng \
                  -plugin-imgfmt-png -plugin-imgfmt-jpeg \
                  -plugin-imgfmt-mng -no-exceptions \
                  -thread -tablet &&
make sub-tools &&
make install &&
ln -v -sfn qt-3.3.7 /opt/qt-3.3.7 &&
ln -v -s libqt-mt.so /opt/qt-3.3.7/lib/libqt.so &&
cp -v -r doc/man /opt/qt-3.3.7/doc &&
cp -v -r examples /opt/qt-3.3.7/doc
export QTDIR=/opt/qt-3.3.7
cat >> /etc/ld.so.conf << "EOF" &&
# Begin qt addition to /etc/ld.so.conf

/opt/qt-3.3.7/lib

# End qt addition
EOF
ldconfig &&
cat >> /etc/man_db.conf << "EOF"
# Begin qt addition to man_db.conf

MANDATORY_MANPATH /opt/qt-3.3.7/doc/man

# End qt addition to man_db.conf
EOF
cat >> /etc/profile << "EOF"
export [color="Red"]PATH=$PATH:/opt/qt-3.3.7/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt-3.3.7/lib/pkgconfig
EOF
cd ..
exit
------------------------------------------------------------------------------------

[color="Red"]谢谢飞龙的指正!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-31 07:51:08 | 显示全部楼层
这是装QT的文件夹

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-31 07:53:14 | 显示全部楼层
[color="Red"]第四章  ALSA


唐师父说:“没有声音,再好的戏也出不来!”“啊?你这是抢我的台词呀!”李雪健急了。
反正到这一章,你需要建立一个文件夹,取名04A,这是声卡驱动。将本章所有的软件包和脚本放在里面,安装时,只要进入该文件夹,按先后顺序执行脚本文件便可以了。主要安装的软件包有:alsa-lib-1.0.13.tar.bz2;alsa-plugins-1.0.13.tar.bz2;alsa-utils-1.0.13.tar.bz2;alsa-tools-1.0.13.tar.bz2里面的ac3dec等四个包。第五个alsa-oss-1.0.12.tar.bz2青铜镜没有安装。不过,顺便也把脚本放上来了。万一有需要的朋友也可以装一下。


04.01
alsa-lib-1.0.13
http://gd.tuwien.ac.at/opsys/linux/a...1.0.13.tar.bz2
脚本编号:01alsa-lib-1.0.13
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf alsa-lib-1.0.13.tar.bz2
cd alsa-lib-1.0.13
./configure --enable-static &&
make
make install &&
install -v -m644 -D doc/asoundrc.txt \
/usr/share/doc/alsa-lib-1.0.13/asoundrc.txt
make doc
install -v -d -m755 /usr/share/doc/alsa-1.0.13/html &&
install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-1.0.13/html
cd ..
rm -rf alsa-lib-1.0.13
exit
------------------------------------------------------------------------------------


04.02
alsa-plugins-1.0.13
http://gd.tuwien.ac.at/opsys/linux/a...1.0.13.tar.bz2
脚本编号:02alsa-plugins-1.0.13
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf alsa-plugins-1.0.13.tar.bz2
cd alsa-plugins-1.0.13
./configure &&
make
make install &&
install -v -m755 -d /usr/share/doc/alsa-plugins-1.0.13 &&
install -v -m644 doc/{README*,*.txt} \
/usr/share/doc/alsa-plugins-1.0.13
cd ..
rm -rf alsa-plugins-1.0.13
exit
------------------------------------------------------------------------------------


04.03
alsa-utils-1.0.13
http://gd.tuwien.ac.at/opsys/linux/a...1.0.13.tar.bz2

04.03.01
脚本编号:03.01alsa-utils-1.0.13
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf alsa-utils-1.0.13.tar.bz2
cd alsa-utils-1.0.13
./configure &&
make
make install
cd ..
rm -rf alsa-utils-1.0.13
exit
------------------------------------------------------------------------------------

04.03.02
脚本编号:03.02alsa-utils-1.0.13
------------------------------------------------------------------------------------
#!/bin/sh
set -e

cd ../blfs-bootscripts-20060910
make install-alsa
touch /etc/asound.state &&
alsactl store
cat > /etc/udev/rules.d/40-alsa.rules << "EOF"
# /etc/udev/rules.d/40-alsa.rules

# When a sound device is detected, restore the volume settings
KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
EOF
chmod -v 644 /etc/udev/rules.d/40-alsa.rules
cd ../04Alsa
exit
------------------------------------------------------------------------------------


04.04
alsa-tools-1.0.13
http://gd.tuwien.ac.at/opsys/lin ... ools-1.0.13.tar.bz2
脚本编号:04alsa-tools-1.0.13
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf alsa-tools-1.0.13.tar.bz2
cd alsa-tools-1.0.13
cd ac3dec
./configure --prefix=/usr &&
make
make install
cd ../..
rm -rf alsa-tools-1.0.13
exit
------------------------------------------------------------------------------------


04.05
alsa-oss-1.0.12
http://gd.tuwien.ac.at/opsys/lin ... -oss-1.0.12.tar.bz2
脚本编号:05alsa-oss-1.0.12
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf alsa-oss-1.0.12.tar.bz2
cd alsa-oss-1.0.12
./configure &&
make
make install
cd ..
rm -rf alsa-oss-1.0.12
exit
------------------------------------------------------------------------------------
安装至此,声卡驱动算是装好了,这时,可以运行命令:alsamixer打开声卡音量。当然,如果光驱有播放按键,只要你愿意,你可以播放CD,一边听CD,一边继续下面的工作!要不然,你也可以在安装好KDE的kdemutimedia这个包以后,运行kmix命令也可以打开音量。
听,唐师父在深情地唱:Only you…… 哈哈哈!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-31 07:56:41 | 显示全部楼层
[color="Red"]第五章  Multimedia


这一章对于打造个人桌面的系统比较重要,关系到konquorer能不能发挥出强大的多媒体功能。俺以前用过几个发行版,系统自带的noatun和kaboodle这两个播放器,简直就是无用的摆设,除了ogg和flac以外,好多媒体格式的文件都不能播放,真的很不爽。这下可好了,俺先把这些东西装上,再编译KDE,KDE的多媒体性能就显现出来了。同样,你需要建立一个文件夹,取名05M。将本章所有的软件包和脚本放在里面,安装时,只要进入该文件夹,按先后顺序执行脚本文件便可以了。主要安装的软件包有21个。


05.01
audiofile-0.2.6
脚本编号:01audiofile-0.2.6
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf audiofile-0.2.6.tar.bz2
cd audiofile-0.2.6
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf audiofile-0.2.6
exit
------------------------------------------------------------------------------------


05.02
esound-0.2.36
脚本编号:02esound-0.2.36
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf esound-0.2.36.tar.bz2
cd esound-0.2.36
sed -i 's@doc/esound@&-0.2.36@' configure &&
./configure --prefix=/usr --sysconfdir=/etc &&
make
make install
cp -v -R docs/html /usr/share/doc/esound-0.2.36
cd ..
rm -rf esound-0.2.36
exit
------------------------------------------------------------------------------------


05.03
SDL-1.2.11
http://www.libsdl.org/release/SDL-1.2.11.tar.gz
脚本编号:03SDL-1.2.11
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf SDL-1.2.11.tar.gz
cd SDL-1.2.11
./configure --prefix=/usr &&
make
make install &&
install -v -m755 -d /usr/share/doc/SDL-1.2.11/html &&
install -v -m644 docs/html/*.html /usr/share/doc/SDL-1.2.11/html
cd ..
rm -rf SDL-1.2.11
exit
------------------------------------------------------------------------------------


05.04
Libao-0.8.6
http://downloads.xiph.org/releases/ao/libao-0.8.6.tar.gz
脚本编号:04Libao-0.8.6
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar xvf libao-0.8.6.tar.gz
cd libao-0.8.6
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf libao-0.8.6
exit
------------------------------------------------------------------------------------


05.05
libogg-1.1.3
脚本编号:05libogg-1.1.3
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -xvf libogg-1.1.3.tar.gz
cd libogg-1.1.3
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf libogg-1.1.3
exit
------------------------------------------------------------------------------------


05.06
libvorbis-1.1.2
脚本编号:06libvorbis-1.1.2
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar xvf libvorbis-1.1.2.tar.gz
cd libvorbis-1.1.2
./configure --prefix=/usr &&
make
sed -i.bak -e 's/-mno-ieee-fp//' lib/Makefile
make install &&
install -v -m644 doc/Vorbis* /usr/share/doc/libvorbis-1.1.2
cd ..
rm -rf libvorbis-1.1.2
exit
------------------------------------------------------------------------------------


05.07
nasm-0.98.39
http://downloads.sourceforge.net/nasm/nasm-0.98.39.tar.bz2
脚本编号:07nasm-0.98.39
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar -jxvf nasm-0.98.39.tar.bz2
cd nasm-0.98.39
patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch &&
./configure --prefix=/usr &&
make &&
make install &&
cd ..
rm -rf nasm-0.98.39
exit
------------------------------------------------------------------------------------


05.08
LibMPEG3-1.6
http://downloads.sourceforge.net ... eg3-1.6-src.tar.bz2
脚本编号:08LibMPEG3-1.6
---------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf libmpeg3-1.6-src.tar.bz2
cd libmpeg3-1.6
patch -Np1 -i ../libmpeg3-1.6-blfs_install-1.patch &&
./configure &&
make
make install
cd ..
rm -rf libmpeg3-1.6
exit
------------------------------------------------------------------------------------


05.09
libmad-0.15
ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz
脚本编号:09libmad-0.15
------------------------------------------------------------------------------------
#!/bin/sh
set +e

tar xvf libmad-0.15.1b.tar.gz
cd libmad-0.15.1b
./configure --prefix=/usr &&
make
make install
cat > /usr/lib/pkgconfig/mad.pc << "EOF"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: mad
Description: MPEG audio decoder
Requires:
Version: 0.15.1b
Libs: -L${libdir} -lmad
Cflags: -I${includedir}
EOF
cd ..
rm -rf libmad-0.15.1b
exit
------------------------------------------------------------------------------------


05.10
libquicktime-0.9.9
http://downloads.sourceforge.net ... cktime-0.9.9.tar.gz
脚本编号:10libquicktime-0.9.9
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar xvf libquicktime-0.9.9.tar.gz
cd libquicktime-0.9.9
./configure --prefix=/usr &&
make
make install &&
install -v -m755 -d /usr/share/doc/libquicktime-0.9.9/api &&
install -v -m644 README doc/* \
    /usr/share/doc/libquicktime-0.9.9
cd ..
rm -rf libquicktime-0.9.9
exit
------------------------------------------------------------------------------------


05.11
libFAME-0.9.1
http://downloads.sourceforge.net/fame/libfame-0.9.1.tar.gz
脚本编号:11libFAME-0.9.1
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf libfame-0.9.1.tar.gz
cd libfame-0.9.1
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch &&
sed -i 's/$CC --version/$CC -dumpversion/' configure &&
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf libfame-0.9.1
exit
------------------------------------------------------------------------------------


05.12
FLAC-1.1.2
http://downloads.sourceforge.net/flac/flac-1.1.2.tar.gz
脚本编号:12FLAC-1.1.2
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf flac-1.1.2.tar.gz
cd flac-1.1.2
patch -Np1 -i ../flac-1.1.2-xmms_plugin_fix-1.patch &&
LIBS=-lm ./configure --prefix=/usr &&
make
make install
cd ..
rm -rf flac-1.1.2
exit
------------------------------------------------------------------------------------


05.13
Liba52-0.7.4
http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
脚本编号:13Liba52-0.7.4
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf a52dec-0.7.4.tar.gz
cd a52dec-0.7.4
./configure --prefix=/usr --enable-shared &&
make
make install &&
install -v -m644 -D doc/liba52.txt \
    /usr/share/doc/liba52-0.7.4/liba52.txt
cd ..
rm -rf a52dec-0.7.4
exit
------------------------------------------------------------------------------------


05.14
XviD-1.1.0
http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2
脚本编号:14XviD-1.1.0
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf xvidcore-1.1.0.tar.bz2
cd xvidcore-1.1.0
cd build/generic &&
./configure --prefix=/usr &&
make
make install &&
chmod -v 755 /usr/lib/libxvidcore.so.4.1 &&
ln -v -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
install -v -m755 -d /usr/share/doc/xvidcore-1.1.0/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 &&
install -v -m644 ../../examples/* \
    /usr/share/doc/xvidcore-1.1.0/examples
cd ../../..
rm -rf xvidcore-1.1.0
exit
------------------------------------------------------------------------------------


05.15
Mpg123-0.60
http://downloads.sourceforge.net/mpg123/mpg123-0.60.tar.bz2
脚本编号:15Mpg123-0.60
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf mpg123-0.60.tar.bz2
cd mpg123-0.60
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf mpg123-0.60
exit
------------------------------------------------------------------------------------


05.16
VorbisTools-1.1.1
http://downloads.xiph.org/releas ... -tools-1.1.1.tar.gz
脚本编号:16VorbisTools-1.1.1
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf vorbis-tools-1.1.1.tar.gz
cd vorbis-tools-1.1.1
patch -Np1 -i ../vorbis-tools-1.1.1-utf8-1.patch &&
./configure --prefix=/usr --enable-vcut &&
make
make install
cd ..
rm -rf vorbis-tools-1.1.1
exit
------------------------------------------------------------------------------------


05.17
lame-3.96.1
http://downloads.sourceforge.net/lam...-3.96.1.tar.gz
脚本编号:17lame-3.96.1
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf lame-3.96.1.tar.gz
cd lame-3.96.1
./configure --prefix=/usr --enable-mp3rtp &&
make
make install
cd ..
rm -rf lame-3.96.1
exit
------------------------------------------------------------------------------------


05.18
ffmpeg-0.4.9-pre1
脚本编号:18ffmpeg-0.4.9-pre1
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar zxvf ffmpeg-0.4.9-pre1.tar.gz
cd ffmpeg-0.4.9-pre1
patch -Np1 -i ../ffmpeg-0.4.9-pre1-gcc4-1.patch &&
patch -Np1 -i ../ffmpeg-0.4.9-pre1-amr_fixes-1.patch &&
sed -i "s/static uint64/const uint64/" \
libavcodec/liba52/resample_mmx.c &&
./configure --prefix=/usr --enable-shared \
--enable-pthreads --disable-ffplay &&
make
make -C doc ff{mpeg,play,server}.1
make install
install -v -m755 -d /usr/share/doc/ffmpeg-0.4.9-pre1 &&
install -v -m644 doc/* /usr/share/doc/ffmpeg-0.4.9-pre1
cd ..
rm -rf ffmpeg-0.4.9-pre1
exit
------------------------------------------------------------------------------------


05.19
Avifile-0.7.45
http://downloads.sourceforge.net ... -0.7-0.7.45.tar.bz2
脚本编号:19Avifile-0.7.45
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf avifile-0.7.45.tar.bz2
cd avifile-0.7-0.7.45
install -v -d -m755 /usr/lib/avifile-0.7/win32 &&
tar -xvf ../avifile-binaries-011002.tgz -C /usr/lib/avifile-0.7
./configure --prefix=/usr \
    --with-win32-path=/usr/lib/avifile-0.7/win32 &&
make
make install
cd ..
rm -rf avifile-0.7-0.7.45
exit
------------------------------------------------------------------------------------


05.20
libdts-0.0.2
脚本编号:20libdts-0.0.2
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -xvf libdca-0.0.2.tar.gz
cd libdts-0.0.2
./configure --prefix=/usr &&
make
make install
cd ..
rm -rf libdts-0.0.2
exit
------------------------------------------------------------------------------------


05.21
x264-snapshot-20070403-2245
脚本编号:21x264-snapshot-20070403-2245
------------------------------------------------------------------------------------
#!/bin/sh
set -e

tar -jxvf x264-snapshot-20070403-2245.tar.bz2
cd x264-snapshot-20070403-2245
./configure &&
perl -pi -e 's|//(#define DEBUG_DUMP_FRAME)|$1|' encoder/encoder.c # define DEBUG_DUMP_FRAME
make
make install
cd ..
rm -rf x264-snapshot-20070403-2245
exit
------------------------------------------------------------------------------------

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表