|
|
发表于 2009-8-27 14:49:44
|
显示全部楼层
你自己试试看不就知道了,
- pkgname=ppstream
- pkgver=0.1.784
- pkgrel=1
- pkgdesc="ppstreamer for linux"
- arch=('i686')
- license=('GPL2')
- url="http://www.ppstreamer.com/"
- depends=('libxvmc')
- makedepends=()
- makedepends=()
- optdepends=()
- conflicts=()
- replaces=()
- source=(http://download.ppstream.com/linux/release_for_ubuntu.tgz http://download.ppstream.com/linux/codecs.tgz)
- md5sums=('b04bfe79541a6bfb79e1f13c99fff10e'
- '7daae2238d03243a81323b3043279e32')
- build() {
- cd ${srcdir}/release_for_ubuntu
- install -d $pkgdir/usr/{lib,bin,local/lib}
- tar xzf libs_for_ubuntu.tgz
- cp -ar libs/* $pkgdir/usr/lib/
- install -Dm644 ppscdn_config.ini $pkgdir/etc/ppscdn_config.ini
- #install -Dm755 mplayer /usr/bin/ppstream
-
- cp -ar $srcdir/codecs $pkgdir/usr/local/lib/
- }
复制代码 |
|