1 # Contributor: osily <ly50247@gmail.com>
3 pkgname=west-chamber-svn
6 pkgdesc="a project whose name came from the Romance_of_the_West_Chamber"
8 url="http://code.google.com/p/scholarzhang"
11 depends=(iptables kernel26-headers)
12 makedepends=('subversion')
14 _svntrunk=http://scholarzhang.googlecode.com/svn/trunk
16 install=west-chamber-svn.install
18 svn co ${_svntrunk} ${_svnmod}
19 cd "${srcdir}/${_svnmod}/${_svnmod}"
21 msg "start autogen.sh"
25 ./configure --prefix=/usr \
26 --libexecdir=/usr/lib/iptables \
28 --with-xtlibdir=/usr/lib/iptables
36 cd "$srcdir/${_svnmod}/${_svnmod}"
38 msg "start make install"
39 make DESTDIR="$pkgdir" install || return 1
41 mkdir -p $pkgdir/usr/share/west-chamber/examples || return 1
42 install -m644 examples/{CHINA,GOOGLE,NOCLIP,YOUTUBE} $pkgdir/usr/share/west-chamber/examples || return 1
45 # vim:set ts=2 sw=2 et: