forked from ports/contrib
25 lines
585 B
Plaintext
25 lines
585 B
Plaintext
# Description: Perl bindings for glib
|
|
# URL: http://www.gtkperl.org
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
|
# Depends on: glib p5-extutils-depends p5-extutils-pkgconfig
|
|
|
|
name=p5-glib
|
|
version=1.261
|
|
release=1
|
|
source=(http://www.cpan.org/modules/by-module/Glib/Glib-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Glib-$version
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
make install DESTDIR=$PKG
|
|
|
|
find $PKG \
|
|
-name perllocal.pod \
|
|
-o -name "*.bs" \
|
|
-o -name .packlist | xargs rm
|
|
find $PKG -empty | xargs rmdir -p ||:
|
|
}
|