|
发表于 2006-10-11 12:13:00
|
显示全部楼层
- pkgname=kmix
- pkgver=3.5.4
- kdever=3.5.4 # if minor 0, then without .0
- pkgrel=1
- pkgdesc="KDE Multimedia Programs."
- url="http://www.kde.org"
- groups=('kde')
- depends=('kdelibs>=3.5.4' )
- # for easier build, just uncomment the mirror you want to use
- mirror="ftp.solnet.ch/mirror/KDE"
- conflicts=('kdemultimedia')
- source=(ftp://$mirror/stable/$kdever/src/kdemultimedia-$pkgver.tar.bz2)
- build() {
- # Uninstall akode before compile!
- # Source the QT and KDE profile
- [ "$QTDIR" = "" ] && source /etc/profile.d/qt.sh
- [ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh
- # start building
- cd $startdir/src/kdemultimedia-$pkgver
- sed -i -e 's/applications-merged/kde-applications-merged/g' kappfinder-data/Makefile.{am,in}
- ./configure --prefix=/opt/kde \
- --with-alsa --with-lame --with-vorbis \
- --disable-dependency-tracking --disable-debug --with-speex --enable-gcc-hidden-visibility \
- --enable-final
- # --disable-strict --disable-warnings
- #--enable-final # remove this if you build with < 512mb ram.
- cd kmix
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- }
- #md5sums=('f98ef8465bf4de1eb36bc3bdb1f4f7d6')
复制代码
不想安很多附加软件可以用这个 |
|