diff --git a/srcpkgs/tracebox/template b/srcpkgs/tracebox/template index 5cf656b5064..ca571307226 100644 --- a/srcpkgs/tracebox/template +++ b/srcpkgs/tracebox/template @@ -5,6 +5,7 @@ revision=5 _click_ver=2.0.1 _crafter_git=3db70ab6fd62ade25de7328aaf8e9ba92696c92e _crafter_ver=0.3.3git +create_wrksrc=yes archs="i686 x86_64" build_style=gnu-configure hostmakedepends="automake pkg-config libtool unzip" @@ -26,11 +27,12 @@ nocross=yes CXXFLAGS="-DHAVE_LUA_PUSHGLOBALTABLE=1" pre_configure() { + mv tracebox-${version}/* . # Do what ./bootstrap.sh would have done but without using git to pull submodules mkdir -p ${wrksrc}/test/tools ${wrksrc}/noinst/libcrafter - mv -v ../click-${_click_ver} test/tools/click - mv -v ../libcrafter-${_crafter_git}/{.gitignore,README,libcrafter} noinst/libcrafter - rmdir -v ../libcrafter-${_crafter_git} + mv -v click-${_click_ver} test/tools/click + mv -v libcrafter-${_crafter_git}/{.gitignore,README,libcrafter} noinst/libcrafter + rmdir -v libcrafter-${_crafter_git} # Set missing AM_PROG_AR sed -e "/AC_PROG_CXX/iAM_PROG_AR=${AR}" -i noinst/libcrafter/libcrafter/configure.ac autoreconf --force --install --verbose