tracebox: switch to use pellegre/libcrafter ver 0.3
This commit is contained in:
parent
314c2e9998
commit
2cb37eb103
1 changed files with 16 additions and 7 deletions
|
@ -2,7 +2,8 @@
|
||||||
pkgname=tracebox
|
pkgname=tracebox
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=1
|
revision=1
|
||||||
_click_version=2.0.1
|
_click_ver=2.0.1
|
||||||
|
_crafter_ver=0.3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake pkg-config libtool unzip"
|
hostmakedepends="automake pkg-config libtool unzip"
|
||||||
makedepends="libpcap-devel lua-devel"
|
makedepends="libpcap-devel lua-devel"
|
||||||
|
@ -11,14 +12,22 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
homepage="http://www.tracebox.org/"
|
homepage="http://www.tracebox.org/"
|
||||||
distfiles="https://github.com/tracebox/tracebox/archive/v${version}.tar.gz>tracebox-${version}.tar.gz https://github.com/bhesmans/click/archive/v${_click_version}.tar.gz>click-${_click_version}.tar.gz https://codeload.github.com/gdetal/libcrafter/zip/master>libcrafter-master.zip"
|
distfiles="
|
||||||
checksum="39a7a70edb386defe03fabafe0ec8dd448ec8a24adcb2df8ea70f4ea16dfffd8 4e48591cb385000ee8daedf3cc18d4b00a9c5a142cc001e0780f0c7ebd713764 b19a46a26f5f3caeebd8adb4cc818cf92e0f71d1d515ef2259129ef6e5095c78"
|
https://github.com/tracebox/tracebox/archive/v${version}.tar.gz>tracebox-${version}.tar.gz
|
||||||
|
https://github.com/bhesmans/click/archive/v${_click_ver}.tar.gz>click-${_click_ver}.tar.gz
|
||||||
|
https://github.com/pellegre/libcrafter/archive/version-${_crafter_ver}.tar.gz>libcrafter-version-${_crafter_ver}.tar.gz"
|
||||||
|
checksum="
|
||||||
|
39a7a70edb386defe03fabafe0ec8dd448ec8a24adcb2df8ea70f4ea16dfffd8
|
||||||
|
4e48591cb385000ee8daedf3cc18d4b00a9c5a142cc001e0780f0c7ebd713764
|
||||||
|
4608b10470aaa5a711b13b7c9db93fc6c3daca8c26ae7e81b0d7aa8af3a497aa"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Do what ./bootstrap.sh would have done but without using git to pull submodules
|
# Do what ./bootstrap.sh would have done but without using git to pull submodules
|
||||||
mkdir -p ${wrksrc}/test/tools ${wrksrc}/noinst/libcrafter
|
mkdir -p ${wrksrc}/test/tools ${wrksrc}/noinst/libcrafter
|
||||||
mv -v ../click-${_click_version} test/tools/click
|
mv -v ../click-${_click_ver} test/tools/click
|
||||||
mv -v ../libcrafter-master/{.gitignore,README,libcrafter} noinst/libcrafter
|
mv -v ../libcrafter-version-${_crafter_ver}/{.gitignore,README,libcrafter} noinst/libcrafter
|
||||||
rmdir -v ../libcrafter-master
|
rmdir -v ../libcrafter-version-${_crafter_ver}
|
||||||
AUTOHEADER=true autoreconf --install --verbose
|
# Set missing AM_PROG_AR
|
||||||
|
sed -e "/AC_PROG_CXX/iAM_PROG_AR=${AR}" -i noinst/libcrafter/libcrafter/configure.ac
|
||||||
|
autoreconf --force --install --verbose
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue