30 lines
710 B
Plaintext
30 lines
710 B
Plaintext
|
# Description: Perl Uniform Resource Identifiers Library.
|
||
|
# URL: http://search.cpan.org/~gaas/URI-1.35/
|
||
|
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
||
|
# Packager: Han Boetes han at mijncomputer dot nl
|
||
|
# Depends on: perl
|
||
|
|
||
|
name=p5-uri
|
||
|
version=1.37
|
||
|
release=1
|
||
|
source=(ftp://ftp.demon.co.uk/pub/CPAN/modules/by-module/URI/URI-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd URI-$version
|
||
|
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
make install DESTDIR=$PKG
|
||
|
# 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
|
||
|
}
|