27 lines
690 B
Plaintext
27 lines
690 B
Plaintext
# Description: library to parse Uniform Resource Identifiers
|
|
# URL: http://search.cpan.org/~gaas/URI-1.30/URI.pm
|
|
# Maintainer: Han Boetes <han@mijncomputer.nl>
|
|
# Packager: Han Boetes <han@mijncomputer.nl>
|
|
# Depends on:
|
|
|
|
|
|
name=p5-uri
|
|
version=1.35
|
|
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 {} \;
|
|
}
|