|
谁在用tor+privoxy穿墙? 编译privoxy似乎没有make这一步,./configure之后就可以make install 了 这样的 PKGBUILD怎么写? 我这个:
- # Contributor: Chris O'Reilly <pbw@massinfluence.net>
- pkgname=privoxy
- pkgver=3.0.3
- pkgrel=1
- pkgdesc="Privoxy GNU"
- url="http://www.privoxy.org/"
- makedepends=()
- depends=('autoconf' 'make' 'gcc')
- mirror="tor.eff.org/dist/" # updated every 2 hours, very fast for Europe
- source=(http://$mirror/privoxy-$pkgver-2-stable.src.tar.gz)
- build() {
- cd $startdir/src/privoxy-$pkgver-stable
- autoheader
- autoconf
- ./configure --prefix=/opt/mysoft/privoxy # (--help to see options)
- make || return 1
- make DESTDIR=$startdir/pkg install
- }
复制代码
提示似乎直接安装到目录里面去了,而没有生成pkg,我用的普通用户makepkg所以出错退出,怎么样写能生成tgz包呢? |
|