forked from ports/contrib
30 lines
747 B
Plaintext
30 lines
747 B
Plaintext
# Description: SDL perl extension.
|
|
# URL: http://search.cpan.org/~dgoehrig/SDL_Perl-2.1.3/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Younes Hafri, ycrux at club-internet dot fr
|
|
# Depends on: sdl_image sdl_net sdl_gfx sdl_mixer sdl_ttf glu
|
|
|
|
name=p5-sdl1-perl
|
|
version=1.20.0
|
|
# note do not edit to 1.20.3 as this will break frozen-bubble
|
|
release=3
|
|
source=(http://zarb.org/~gc/t/SDL_perl-$version.tar.gz)
|
|
|
|
build() {
|
|
cd SDL_perl-$version
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
# Remove perlcrap
|
|
find $PKG -type f \( \
|
|
-name '.packlist' -o \
|
|
-name '*.bs' -o \
|
|
-name 'autosplit.ix' -o \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -delete
|
|
}
|
|
|