mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
uri: bump version, cleanup, add tests
Some tests are failing because of missing dependencies (Test::Fatal, Test::Needs and Test::Warnings).
This commit is contained in:
@@ -10,11 +10,12 @@ Uniform Resource Name (URN). The distinction between URL and URN does not \
|
||||
matter to the URI class interface. A \"URI-reference\" is a URI that may have \
|
||||
additional information attached in the form of a fragment identifier."
|
||||
HOMEPAGE="https://github.com/libwww-perl/URI"
|
||||
COPYRIGHT="1995-2009 Gisle Aas"
|
||||
COPYRIGHT="1995-2009 Gisle Aas
|
||||
1995 Martijn Koster"
|
||||
LICENSE="Artistic"
|
||||
REVISION="5"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b2c98e1d50d6f572483ee538a6f4ccc8d9185f91f0073fd8af7390898254413e"
|
||||
CHECKSUM_SHA256="e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765"
|
||||
SOURCE_DIR="URI-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
@@ -43,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