blob: 2957f488445130c3fd61f35307956696944f11a9 (
plain)
1 # Description: Perl module for interfacing Asterisk
2 # URL: http://search.cpan.org/dist/asterisk-perl/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4
5 name=p5-asterisk
6 version=1.08
7 release=1
8 source=(http://search.cpan.org/CPAN/authors/id/I/IT/ITCHARLIE/asterisk-perl-$version.tar.gz)
9
10 build() {
11 cd asterisk-perl-$version
12 perl Makefile.PL
13 make OPTIMIZE="$CFLAGS"
14 make DESTDIR="$PKG" install
15 find "$PKG" \( -name .packlist -o -name '*.bs' -o -name autosplit.ix -o -name perllocal.pod \) -exec rm -rf {} \;
16 find "$PKG" -depth -type d -empty -exec rm -rf {} \;
17 }
|