contrib/p5-io-string/Pkgfile

21 lines
606 B
Plaintext
Raw Normal View History

2008-04-12 20:28:12 +02:00
# Description: Emulate file interface for in-core strings
# URL: http://search.cpan.org/~gaas/IO-String/
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Packager: Younes Hafri, ycrux at club-internet dot fr
# Depends on:
2007-03-04 13:56:02 +01:00
name=p5-io-string
2008-04-12 20:28:12 +02:00
version=1.08
2010-12-23 20:33:23 +01:00
release=4
2007-03-04 13:56:02 +01:00
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/IO-String-$version.tar.gz)
2008-04-12 20:28:12 +02:00
build() {
2007-03-04 13:56:02 +01:00
cd IO-String-$version
perl Makefile.PL
2008-04-12 20:28:12 +02:00
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
find $PKG -name .packlist -exec rm {} \;
find $PKG -name perllocal.pod -exec rm {} \;
find $PKG -depth -type d -empty -exec rm -rf {} \;
2007-03-04 13:56:02 +01:00
}