mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
text_diff: add tests, cleanup
add missing dependency on algorith_diff (new recipe from a previous commit)
This commit is contained in:
@@ -11,7 +11,7 @@ examined them to make sure they are indeed identical."
|
||||
HOMEPAGE="https://metacpan.org/pod/Text::Diff"
|
||||
COPYRIGHT="2001-2017 by Adam Kennedy"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Text-Diff-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e8baa07b1b3f53e00af3636898bbf73aec9a0ff38f94536ede1dbe96ef086f04"
|
||||
SOURCE_DIR="Text-Diff-$portVersion"
|
||||
@@ -23,11 +23,13 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
algorithm_diff
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
algorithm_diff
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
@@ -42,5 +44,15 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
make pure_install
|
||||
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user