forked from ports/contrib
p5-alien-sdl: initial import
This commit is contained in:
parent
c305fe6440
commit
3ac0870196
16
p5-alien-sdl/.footprint
Normal file
16
p5-alien-sdl/.footprint
Normal file
@ -0,0 +1,16 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-r-xr-xr-x root/root usr/bin/sdl-config.pl
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/perl5/
|
||||
drwxr-xr-x root/root usr/lib/perl5/site_perl/
|
||||
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
|
||||
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Alien/
|
||||
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Alien/SDL.pm
|
||||
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Alien/SDL/
|
||||
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Alien/SDL/ConfigData.pm
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-r--r--r-- root/root usr/share/man/man3/Alien::SDL.3pm.gz
|
||||
-r--r--r-- root/root usr/share/man/man3/Alien::SDL::ConfigData.3pm.gz
|
5
p5-alien-sdl/.signature
Normal file
5
p5-alien-sdl/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3yYFsTN4vZvBsum/T4s1wE452wZa0PCdSEeUvLTgKPfuVJvlhCoHyPco4PUKWoDpXwzv3lYfhs4VHviZQOBL/gg=
|
||||
SHA256 (Pkgfile) = af0aec5859dcc60e6c9af83780ebc06eb1712a91e552ebf09a292b3ff072f06a
|
||||
SHA256 (.footprint) = d956723d035df1e580c65febe6154a8ce446cf0276d7a4473736f96ea4f70f03
|
||||
SHA256 (Alien-SDL-1.446.tar.gz) = c9aa2c9dc3c63d89773c7d7203f2a46d1b924d0c72d9f801af147a3dc8bc512a
|
25
p5-alien-sdl/Pkgfile
Normal file
25
p5-alien-sdl/Pkgfile
Normal file
@ -0,0 +1,25 @@
|
||||
# Description: Building, finding and using SDL binaries
|
||||
# URL: ttps://metacpan.org/release/Alien-SDL
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: libsdl p5-file-sharedir p5-capture-tiny p5-file-which p5-text-patch p5-archive-extract p5-archive-zip p5-module-build
|
||||
|
||||
name=p5-alien-sdl
|
||||
_realname=Alien-SDL
|
||||
_author=FROGGS
|
||||
version=1.446
|
||||
release=1
|
||||
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $_realname-$version
|
||||
|
||||
# Workaround bug with --with-sdl-config
|
||||
sed -i '/^GetOptions/d' Build.PL
|
||||
|
||||
perl Build.PL --with-sdl-config
|
||||
perl Build
|
||||
perl Build install installdirs=vendor destdir="$PKG"
|
||||
|
||||
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
||||
find $PKG -depth -empty -delete
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user