This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Packaging of libraries
On Thu, 2010-08-05 at 20:44 -0400, Chris Sutcliffe wrote:
> I've made some minor modifications to your packaging:
>
> ORIG_PN="libsigc++"
> inherit gtkmm
>
> HOMEPAGE="http://libsigc.sourceforge.net/"
> SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/${ORIG_PN}-${PV}.tar.bz2"
gtkmm.cygclass already provides the correct SRC_URI (and uses
mirror://gnome too).
> PKG_NAMES="${PN} ${PN}_0 ${PN}-devel"
> libsigc__2_0_CONTENTS="usr/share/doc/libsigc++-2.0 usr/share/devhelp"
> libsigc__2_0_0_CONTENTS="usr/bin/*-2.0-0.dll usr/share/doc/Cygwin
> usr/share/doc/${PN}"
> libsigc__2_0_devel_CONTENTS="usr/include usr/lib"
Please don't make a documentation-only main package. Either make a
separate -doc package (which I did due to its size) or ship it in
-devel.
> but when running 'prep' I get:
Not during prep, but during build (gtkmm_autoreconf, to be precise).
> *** ERROR: mm-common is required to build this package
>
> Am I missing something?
Yeah, mm-common. :-) I've just ITP'd that.
Yaakov