diff --git a/dev-perl/alien_sdl/alien_sdl-1.446.recipe b/dev-perl/alien_sdl/alien_sdl-1.446.recipe new file mode 100644 index 000000000..02c1af1bf --- /dev/null +++ b/dev-perl/alien_sdl/alien_sdl-1.446.recipe @@ -0,0 +1,69 @@ +SUMMARY="Building, finding and using SDL binaries" +DESCRIPTION="In short Alien::SDL can be used to detect and get configuration settings from an \ +installed SDL and related libraries. Based on your platform it offers the possibility to download \ +and install prebuilt binaries or to build SDL & co. from source codes. + +The important facts: +* The module does not modify in any way the already existing SDL installation on your system. +* If you reinstall SDL libs on your system you do not need to reinstall Alien::SDL (providing \ +that you use the same directory for the new installation). +* The prebuild binaries and/or binaries built from sources are always installed into perl \ +module's 'share' directory. +* If you use prebuild binaries and/or binaries built from sources it happens that some of the \ +dynamic libraries (*.so, *.dll) will not automaticly loadable as they will be stored somewhere \ +under perl module's 'share' directory. To handle this scenario Alien::SDL offers some special \ +functionality (see below)." +HOMEPAGE="https://metacpan.org/pod/Alien::SDL" +COPYRIGHT="2009-2015 Kartik Thakore" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/F/FR/FROGGS/Alien-SDL-$portVersion.tar.gz" +CHECKSUM_SHA256="c9aa2c9dc3c63d89773c7d7203f2a46d1b924d0c72d9f801af147a3dc8bc512a" +SOURCE_DIR="Alien-SDL-$portVersion" + +ARCHITECTURES="all" + +PROVIDES=" + alien_sdl = $portVersion + cmd:sdl_config.pl + " +REQUIRES=" + vendor_perl + devel:libexecinfo + devel:libSDL_1.2 + devel:libSDL_image_1.2 + devel:libSDL_mixer_1.2 + devel:libSDL_ttf_2.0 + devel:libSDL_gfx + devel:libSDL_Pango + " + +BUILD_REQUIRES=" + haiku_devel + archive_extract + archive_zip + capture_tiny + class_inspector + file_sharedir + file_which + module_build + text_patch + " +BUILD_PREREQUIRES=" + cmd:sdl_config + " +PATCH() +{ + sed -i '/^GetOptions/d' Build.PL +} + +BUILD() +{ + perl Build.PL --with-sdl-config --installdirs vendor --prefix $prefix + ./Build +} + +INSTALL() +{ + ./Build install --installdirs vendor +}