summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-date-manip/Pkgfile
blob: eed33df01d0b1fe51ae0791753b07bfeb5a8d22a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description:	Date manipulation routines
# URL:		http://search.cpan.org/~sbeck/Date-Manip/
# Maintainer:	Erich Eckner, crux at eckner dot net
# Depends on:	perl

name=p5-date-manip
version=6.89
release=1
source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-${version}.tar.gz)

build() {
	cd Date-Manip-$version

	perl Makefile.PL
	make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install

	find "$PKG" -depth \
		-type f \( -name .packlist -o -name \*.bs -o -name autosplit.ix -o -name perllocal.pod \) -delete , \
		-type d -empty -exec rmdir {} +
}