26 lines
576 B
Plaintext
26 lines
576 B
Plaintext
# Description: Python unit testing library
|
|
# URL: https://launchpad.net/subunit
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on: python check cppunit
|
|
|
|
name=subunit
|
|
version=1.2.0
|
|
release=1
|
|
source=(https://launchpad.net/subunit/trunk/${version%.*}/+download/$name-$version.tar.gz)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
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
|
|
}
|