2016-03-11 06:08:06 +08:00
|
|
|
pkgname=lcov
|
2018-02-12 14:24:10 +08:00
|
|
|
pkgver=1.13
|
2018-02-13 00:38:27 +08:00
|
|
|
pkgrel=2
|
2016-03-11 06:08:06 +08:00
|
|
|
pkgdesc="front-end for GCC's coverage testing tool gcov"
|
|
|
|
arch=('any')
|
|
|
|
url="http://ltp.sourceforge.net/coverage/lcov.php"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('perl')
|
|
|
|
source=("http://downloads.sourceforge.net/ltp/$pkgname-$pkgver.tar.gz"
|
|
|
|
"handle-equals-signs.patch"
|
|
|
|
"fix-undef-behaviour.patch"
|
|
|
|
)
|
2018-02-12 14:24:10 +08:00
|
|
|
sha256sums=('44972c878482cc06a05fe78eaa3645cbfcbad6634615c3309858b207965d8a23'
|
2016-03-11 06:08:06 +08:00
|
|
|
'54728aa4e244d3662c65ba91fb486dc1d5c64d9d55745ee334c4131109dc233c'
|
2018-02-12 14:24:10 +08:00
|
|
|
'ceaf41f7cc9cea5a6fc4b0385ffef10d1ab8812acd2a5b16dcd8d7bca7120488')
|
2016-03-11 06:08:06 +08:00
|
|
|
|
|
|
|
prepare()
|
|
|
|
{
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
patch -p1 -i $srcdir/handle-equals-signs.patch
|
|
|
|
patch -p1 -i $srcdir/fix-undef-behaviour.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
package()
|
|
|
|
{
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
2018-02-13 00:38:27 +08:00
|
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
2016-03-11 06:08:06 +08:00
|
|
|
}
|