|
From: Motoi W. <a6...@h8...> - 2005-05-01 14:42:10
|
Hi Ming developers, I'm trying to make Ming package for Fink. Fink is software to maintain open source software easily on Mac OS X, like RPM, Debian package, or Portage of Gentoo/Linux. http://fink.sourceforge.net Each Fink package is made from one package info file and one small patch file, if needed. The package info file contains information about its software, version, etc. One of the most important information is a process to install the software from source, such as configure options and make target. At first, I thought making package from Ming 0.3 beta1, but I had to make a long patch. CVS version of Ming looked better, and I can install shared libraries now. But there is still a few problems to make a package: 1. Fink installs libraries on /sw/lib, and I want to use -L/sw/lib linker option to use /sw/lib/libpng.dylib and /sw/lib/libgif.dylib. But I can't find how to set such option without any patch. I'm happy if I can set those options by running configure like this: $ ./configure --prefix=/sw CPPFLAGS=/sw/include LDFLAGS=/sw/lib 2. Fink does not allow installing files directly. Instead, Fink installs those files on a temporary directory such as /sw/src/root-ming-0.3-1/ and create .deb package. We can specify such a directory if the Makefile of the software supports running command like: $ make install DESTDIR=/sw/src/root-ming-0.3-1 Any thoughts? I will write a patch if you like. Thanks, -- Motoi Washida |