2016-09-01 12:12:56 +09:00
|
|
|
# Description: Python unit testing library
|
2015-01-27 19:28:35 +09:00
|
|
|
# URL: https://launchpad.net/subunit
|
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2015-01-28 20:34:33 +09:00
|
|
|
# Depends on: python check cppunit
|
2015-01-27 19:28:35 +09:00
|
|
|
|
|
|
|
name=subunit
|
2019-08-08 21:22:13 +10:00
|
|
|
version=1.3.0
|
2015-01-27 19:28:35 +09:00
|
|
|
release=1
|
2016-09-01 12:12:56 +09:00
|
|
|
source=(https://launchpad.net/subunit/trunk/${version%.*}/+download/$name-$version.tar.gz)
|
2015-01-27 19:28:35 +09:00
|
|
|
|
|
|
|
build () {
|
2019-08-08 21:22:13 +10:00
|
|
|
autoreconf -i
|
2015-01-28 20:34:33 +09:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr
|
|
|
|
|
2015-01-27 19:28:35 +09:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
# Avoid conflict with p5-subunit and py-subunit
|
|
|
|
rm -rf $PKG/usr/lib/perl* $PKG/usr/lib/python*
|
|
|
|
|
|
|
|
# The binaries are actually python and perl scripts
|
|
|
|
rm -rf $PKG/usr/bin
|
|
|
|
}
|