# Contributor: Michael Truog # Maintainer: Michael Truog global pkgname := 'tsung' global pkgver := '1.7.0' global pkgrel := '0' global pkgdesc := '"Tsung is a high-performance benchmark framework for various protocols including HTTP,XMPP,LDAP,etc.'" global url := '"http://www.process-one.net/en/tsung/'" global license := '"GPL2'" global arch := '"noarch !armhf'" global depends := '"bash erlang erlang-crypto erlang-inets erlang-os-mon erlang-sasl erlang-xmerl gnuplot perl-template-toolkit python2 py-matplotlib '" global makedepends := '"erlang erlang-asn1 erlang-crypto erlang-dev erlang-eunit erlang-inets erlang-os-mon erlang-snmp erlang-ssl erlang-tools erlang-xmerl perl '" global subpackages := ''"" global source := ""$pkgname-$pkgver.tar.gz::https://github.com/processone/$pkgname/archive/v$pkgver.tar.gz 0005-Do-not-install-manpages-in-main-install.patch"" global builddir := ""$srcdir/tsung-$pkgver"" proc build { cd $builddir ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --host="$CHOST" \ --build="$CBUILD" make } proc check { cd $builddir make test } proc package { cd $builddir make DESTDIR="$pkgdir" install } global sha512sums := '"63ec9b7b2f0a9fafde8182160b55513526009be056c6715ecff8dbeb40ab05f55d264f8f79e22b8987c6019c0b7eed9ac4e0e71792ad4cad67c758e64257c1d5 tsung-1.7.0.tar.gz ee80c21fe6a66c96b1aa68afd96209516a5a3fe1d51a1ee01a1f465d164c332bbe30f03de1cc20f3d6e0651770fa7e579d64f52d282b64d6ca02d098852f2a93 0005-Do-not-install-manpages-in-main-install.patch'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(tsung)} spids:[7])] spids: [7] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(1.7.0)} spids:[10])] spids: [10] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(0)} spids:[13])] spids: [13] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: { (DQ ( "Tsung is a high-performance benchmark framework for various protocols including HTTP,XMPP,LDAP,etc." ) ) } spids: [16] ) ] spids: [16] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://www.process-one.net/en/tsung/"))} spids: [21] ) ] spids: [21] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (GPL2))} spids:[26])] spids: [26] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ ("noarch !armhf"))} spids:[31])] spids: [31] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: { (DQ ("bash\n") (" erlang\n") (" erlang-crypto\n") (" erlang-inets\n") (" erlang-os-mon\n") (" erlang-sasl\n") (" erlang-xmerl\n") (" gnuplot\n") (" perl-template-toolkit\n") (" python2\n") (" py-matplotlib\n") (" ") ) } spids: [36] ) ] spids: [36] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: { (DQ ("erlang\n") (" erlang-asn1\n") (" erlang-crypto\n") (" erlang-dev\n") (" erlang-eunit\n") (" erlang-inets\n") (" erlang-os-mon\n") (" erlang-snmp\n") (" erlang-ssl\n") (" erlang-tools\n") (" erlang-xmerl\n") (" perl\n") (" ") ) } spids: [52] ) ] spids: [52] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:subpackages) op:Equal rhs:{(DQ )} spids:[69])] spids: [69] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver") (".tar.gz::https://github.com/processone/") ($ VSub_Name "$pkgname") (/archive/v) ($ VSub_Name "$pkgver") (".tar.gz\n") (" 0005-Do-not-install-manpages-in-main-install.patch") ) } spids: [73] ) ] spids: [73] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir") (/tsung-) ($ VSub_Name "$pkgver"))} spids: [87] ) ] spids: [87] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(./configure)} {(--prefix) (Lit_Other "=") (/usr)} {(--sysconfdir) (Lit_Other "=") (/etc)} {(--mandir) (Lit_Other "=") (/usr/share/man)} {(--infodir) (Lit_Other "=") (/usr/share/info)} {(--host) (Lit_Other "=") (DQ ($ VSub_Name "$CHOST"))} {(--build) (Lit_Other "=") (DQ ($ VSub_Name "$CBUILD"))} ) (C {(make)}) ] spids: [99] ) spids: [95 98] ) (FuncDef name: check body: (BraceGroup children: [(C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(test)})] spids: [159] ) spids: [155 158] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) ] spids: [180] ) spids: [176 179] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "63ec9b7b2f0a9fafde8182160b55513526009be056c6715ecff8dbeb40ab05f55d264f8f79e22b8987c6019c0b7eed9ac4e0e71792ad4cad67c758e64257c1d5 tsung-1.7.0.tar.gz\n" ) ( "ee80c21fe6a66c96b1aa68afd96209516a5a3fe1d51a1ee01a1f465d164c332bbe30f03de1cc20f3d6e0651770fa7e579d64f52d282b64d6ca02d098852f2a93 0005-Do-not-install-manpages-in-main-install.patch" ) ) } spids: [202] ) ] spids: [202] ) ] )