fix build script
This commit is contained in:
11
build.sh
Normal file
11
build.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
cd lib
|
||||
#sh buildalllibs.sh
|
||||
cd ..
|
||||
mkdir -p build/121Nat
|
||||
cd build/121Nat
|
||||
cmake ../../
|
||||
make
|
||||
cp 121Nat ../
|
||||
cd ../..
|
||||
rm -Rf build/121Nat
|
||||
2
dist/package/PKGBUILD
vendored
2
dist/package/PKGBUILD
vendored
@@ -5,7 +5,7 @@ pkgdesc="transparent one to one nat"
|
||||
arch=(any)
|
||||
url="http://www.foo.org"
|
||||
license=('MIT')
|
||||
depends=('pth' 'libpcap')
|
||||
depends=('pth' 'libpcap' 'python2')
|
||||
makedepends=('cmake')
|
||||
source=(./$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('0e1494ebbcf0b0ca1bfa8475c5078f21')
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
mkdir -p bin
|
||||
mkdir -p build/libtins/
|
||||
cd build/libtins/
|
||||
cmake ../../src/libtins -DLIBTINS_BUILD_SHARED=0 -DLIBTINS_ENABLE_CXX11=1 -DLIBTINS_ENABLE_WPA2=0 -DLIBTINS_ENABLE_DOT11=0 -DHAVE_PCAP_IMMEDIATE_MODE=1
|
||||
cmake ../../src/libtins -DLIBTINS_BUILD_SHARED=1 -DLIBTINS_ENABLE_CXX11=1 -DLIBTINS_ENABLE_WPA2=0 -DLIBTINS_ENABLE_DOT11=0 -DHAVE_PCAP_IMMEDIATE_MODE=1
|
||||
make
|
||||
cp lib/libtins.so ../../bin
|
||||
cd ../..
|
||||
|
||||
Reference in New Issue
Block a user