18 lines
577 B
Plaintext
18 lines
577 B
Plaintext
# Description: Perl module for interfacing Asterisk
|
|
# URL: http://search.cpan.org/dist/asterisk-perl/
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
name=p5-asterisk
|
|
version=1.08
|
|
release=1
|
|
source=(http://search.cpan.org/CPAN/authors/id/I/IT/ITCHARLIE/asterisk-perl-$version.tar.gz)
|
|
|
|
build() {
|
|
cd asterisk-perl-$version
|
|
perl Makefile.PL
|
|
make OPTIMIZE="$CFLAGS"
|
|
make DESTDIR="$PKG" install
|
|
find "$PKG" \( -name .packlist -o -name '*.bs' -o -name autosplit.ix -o -name perllocal.pod \) -exec rm -rf {} \;
|
|
find "$PKG" -depth -type d -empty -exec rm -rf {} \;
|
|
}
|