p5-term-readkey: New Port (xmltv dep)

This commit is contained in:
James Mills 2007-01-01 19:25:28 +10:00
parent cf38c244ab
commit 41e7a4ad46
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,15 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/Term/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.8.8/linux/Term/ReadKey.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Term/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Term/ReadKey/
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Term/ReadKey/ReadKey.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man3/
-r--r--r-- root/root usr/man/man3/Term::ReadKey.3pm.gz

1
p5-term-readkey/.md5sum Normal file
View File

@ -0,0 +1 @@
f0ef2cea8acfbcc58d865c05b0c7e1ff TermReadKey-2.30.tar.gz

31
p5-term-readkey/Pkgfile Normal file
View File

@ -0,0 +1,31 @@
# Description: Perl Terminal Readkey Library.
# URL: http://search.cpan.org/~jstowe/TermReadKey-2.30/
# Maintainer: James Mills prologic at shortcircuit dot net dot au
# Packager: Stoyan Zhekov zhware at hotpop dot com
#
# Depends on: perl
name=p5-term-readkey
version=2.30
release=1
source=(http://www.cpan.org/modules/by-module/Term/TermReadKey-$version.tar.gz)
build() {
cd TermReadKey-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
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
}