On Thu, Nov 05, 2020 at 11:14:54AM +0800, Hu Xuejiao wrote:
[why] Adapting sysbench-threads needs to old version to user
Signed-off-by: Hu XueJiao 1034502035@qq.com
pkg/sysbench-threads-git/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/sysbench-threads-git/PKGBUILD
diff --git a/pkg/sysbench-threads-git/PKGBUILD b/pkg/sysbench-threads-git/PKGBUILD new file mode 100644 index 00000000..897799ff --- /dev/null +++ b/pkg/sysbench-threads-git/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=sysbench-threads-git +pkgver=git +pkgrel=0.4.8 +pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." +url="http://github.com/dallasmarlow/sysbench.git" +arch=('x86_64' 'i386' 'aarch64') +license=('GPL') +source=("http://github.com/dallasmarlow/sysbench.git") +md5sums=('SKIP')
+build() +{
- cd "$srcdir/$pkgname"
$srcdir is /tmp/lkp/$pkgname/src/$pkgname So here you should use "$srcdir/sysbench"
- ./autogen.sh
- ./configure --prefix=/usr --without-gcc-arch --without-mysql
- make
+}
+package() +{
- cd "$srcdir/$pkgname"
ditto
Thanks, Yale
- make DESTDIR=$pkgdir install
+}
2.23.0