1SUMMARY="A library to help create robust multi-platform software" 2DESCRIPTION="S-Lang is a multi-platform library designed to allow a developer \ 3to create robust multi-platform software. It provides facilities required by \ 4interactive applications such as display/screen management, keyboard input, \ 5keymaps, and so on. 6The most exciting feature of the library is the slang interpreter that may \ 7be easily embedded into a program to make it extensible. 8 9While the emphasis has always been on the embedded nature of the interpreter, \ 10it may also be used in a stand-alone fashion through the use of slsh, which is \ 11part of the S-Lang distribution." 12HOMEPAGE="http://www.jedsoft.org/slang/" 13COPYRIGHT="2004-2013 John E. Davis" 14LICENSE="GNU GPL v2" 15REVISION="3" 16SOURCE_URI="ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.4.tar.bz2" 17CHECKSUM_SHA256="9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db" 18PATCHES="slang-${portVersion}.patchset" 19 20ARCHITECTURES="x86_gcc2 x86" 21 22GLOBAL_WRITABLE_FILES=" 23 settings/slsh.rc keep-old 24 " 25 26PROVIDES=" 27 slang = $portVersion compat >= 2.2 28 cmd:slsh = $portVersion compat >= 2.2 29 lib:libslang = $portVersion compat >= 2.2 30 " 31REQUIRES=" 32 haiku 33 lib:libiconv 34 lib:libncurses 35 lib:libpcre 36 lib:libpng16 37 lib:libz 38 " 39 40PROVIDES_devel=" 41 slang_devel = $portVersion compat >= 2.2 42 devel:libslang = $portVersion compat >= 2.2 43 " 44REQUIRES_devel=" 45 slang == $portVersion 46 " 47 48BUILD_REQUIRES=" 49 haiku_devel 50 devel:libiconv 51 devel:libncurses 52 devel:libpcre 53 devel:libpng16 54 devel:libz 55 " 56BUILD_PREREQUIRES=" 57 cmd:autoconf 58 cmd:gcc 59 cmd:ld 60 cmd:make 61 " 62 63BUILD() 64{ 65 runConfigure ./configure \ 66 --with-pnglib=$libDir \ 67 --with-pnginc=$includeDir \ 68 --with-zlib=$libDir \ 69 --with-zinc=$includeDir \ 70 --with-iconvlib=$libDir \ 71 --with-iconvinc=$includeDir \ 72 --with-pcrelib=$libDir \ 73 --with-pcreinc=$includeDir 74 #--with-oniglib=$libDir \ 75 #--with-oniginc=$includeDir 76 77 make 78} 79 80INSTALL() 81{ 82 make install 83 84 fixPkgconfig 85 86 prepareInstalledDevelLibs libslang 87 88 packageEntries devel $developDir 89} 90