2008-09-16 23:55:48 +10:00
|
|
|
# Description: Perl Uniform Resource Identifiers Library.
|
2015-05-06 13:50:40 +02:00
|
|
|
# URL: http://search.cpan.org/dist/URI/
|
2010-09-28 09:07:23 +00:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Packager: Han Boetes han at mijncomputer dot nl
|
|
|
|
# Depends on: perl
|
2008-09-16 23:55:48 +10:00
|
|
|
|
|
|
|
name=p5-uri
|
2016-02-21 09:20:05 +00:00
|
|
|
version=1.71
|
2009-09-28 10:20:36 +02:00
|
|
|
release=1
|
2014-08-19 13:39:11 +02:00
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/URI-$version.tar.gz)
|
2008-09-16 23:55:48 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd URI-$version
|
|
|
|
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
2015-05-06 13:50:40 +02:00
|
|
|
|
2008-09-16 23:55:48 +10:00
|
|
|
# Remove perlcrap
|
|
|
|
find $PKG \
|
|
|
|
-name .packlist -or \
|
|
|
|
-name '*.bs' -or \
|
|
|
|
-name autosplit.ix -or \
|
|
|
|
-name perllocal.pod | xargs rm
|
|
|
|
|
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|
|
|
|
|
|
|
chown -R root:root $PKG
|
|
|
|
}
|