# DISCLAIMER: Max Horn is the sole maintainer of this package. # Please DO NOT MAKE MODIFICATIONS without informing the maintainer. # Preferably, send a patch to me instead of making changes yourself! # If that is not possible due to extra urgency, at least send me a mail. # # Explanation: I am sick and tired of getting back to my packages and # discovering that people have messed with it. I am then forced to # retrace their steps, find out who, when and why did make a certain # change etc. -- i.e. it makes my life as maintainer harder. # Furthermore, as maintainer I am responsible for problems caused by my # packages. But I am not willing to take responsibility for something I # did not do. In particular, for changes that other people introduced # behind my back, no matter how good and noble their intentions were. As # such, I may see myself forced to drop responsibility for (and hence, # maintainership of) the affected package. Package: slang2 Version: 2.3.0 Revision: 1 Maintainer: Max Horn License: Artistic Homepage: http://www.jedsoft.org/slang/ # Dependencies: BuildDependsOnly: True BuildDepends: << libpng16, libpcre1, libiconv-dev << Depends: %N-shlibs (= %v-%r) Conflicts: slang Replaces: slang # Unpack Phase: # CustomMirror: << # A: ftp://space.mit.edu/pub/davis/slang/ # B: ftp://ftp.fu-berlin.de/pub/unix/misc/slang/ # C: ftp://ftp.ntua.gr/pub/lang/slang/slang/ # << # Source: mirror:custom:v2.2/slang-%v.tar.bz2 Source: http://www.jedsoft.org/releases/slang/slang-%v.tar.bz2 Source-MD5: 3bcc790460d52db1316c20395b7ac2f1 UseMaxBuildJobs: False # Compile Phase: SetCFLAGS: -isystem %p/include NoSetCFLAGS: true NoSetLDFLAGS: true SetLDFLAGS: -Wl,-search_paths_first -L%b/src/elfobjs -L%p/lib ConfigureParams: << --mandir=%p/share/man \ --with-ssl-library=%p/lib/system-openssl/lib \ --with-ssl-includes=%p/lib/system-openssl/include \ --with-slrnpull \ --without-onig \ --disable-dependency-tracking << CompileScript: << ./configure %c make all install_doc_dir=%p/share/doc/%n << InstallScript: << make install DESTDIR=%d install_doc_dir=%p/share/doc/%n << InfoTest: TestScript: DYLD_LIBRARY_PATH=%b/src/elfobjs make check || exit 2 SplitOff: << Package: %N-shlibs Depends: << libpng16-shlibs, libpcre1-shlibs, libiconv << Replaces: %N (<= 1.4.5-2) Files: lib/libslang.*.dylib Shlibs: %p/lib/libslang.2.dylib 2.0.0 %n (>= 2.1.4-1) DocFiles: COPYING README << DocFiles: COPYING README NEWS UPGRADE.txt Description: S-Lang programming library, version 2 DescDetail: << S-Lang is an interpreted language that was designed from the start to be easily embedded into a program to provide it with a powerful extension language. S-Lang also provides a platform-independent interface for screen management, keymaps and low-level terminal I/O. << DescPort: << CPPFLAGS is ignored, so we use CFLAGS instead. We use env tricks to make sure the include files and libs in the build dir are used, not any already installed ones. For the tests, we additionally set DYLD_LIBRARY_PATH, so that the freshly built shared libs are loaded, not any previously installed versions in %p/lib. <<