2008-09-16 23:55:48 +10:00
|
|
|
# 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
|
2008-12-11 00:28:11 +11:00
|
|
|
release=2
|
2008-09-16 23:55:48 +10:00
|
|
|
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
|
|
|
|
}
|