2007-12-27 12:36:52 +01:00
|
|
|
# Description: Perl bindings for glib
|
|
|
|
# URL: http://www.gtkperl.org
|
2009-03-30 02:01:52 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2007-12-27 12:36:52 +01:00
|
|
|
# Packager: Han Boetes, han at mijncomputer dot nl
|
2008-07-01 12:47:11 +02:00
|
|
|
# Depends on: p5-extutils-depends p5-extutils-pkgconfig
|
2007-12-27 12:36:52 +01:00
|
|
|
|
|
|
|
name=p5-glib
|
2010-08-17 11:46:05 +02:00
|
|
|
version=1.223
|
2007-12-27 12:36:52 +01:00
|
|
|
release=1
|
2010-08-17 11:46:05 +02:00
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Glib-1.223.tar.gz)
|
2007-12-27 12:36:52 +01:00
|
|
|
|
|
|
|
build() {
|
2008-07-01 12:47:11 +02:00
|
|
|
cd Glib-$version
|
2007-12-27 12:36:52 +01:00
|
|
|
perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
2008-07-01 12:47:11 +02:00
|
|
|
make install DESTDIR=$PKG
|
|
|
|
find $PKG \
|
2007-12-27 12:36:52 +01:00
|
|
|
-name perllocal.pod \
|
|
|
|
-o -name "*.bs" \
|
|
|
|
-o -name .packlist | xargs rm
|
2008-07-01 12:47:11 +02:00
|
|
|
find $PKG -empty | xargs rmdir -p ||:
|
2007-12-27 12:36:52 +01:00
|
|
|
}
|