Am Mittwoch, 11. Mai 2011 schrieb Paul Wise: > On Tue, May 10, 2011 at 5:00 AM, Rainer Dorsch <firstname.lastname@example.org> wrote: > > Can you give a few hints what I need to change in the > > freetype/debian/rules file to create a libfreetype6-navit package? I > > would think: > > -> for the private directory: changing the prefix in ./configure > > -> for the package name: dh_strip --dbg-package=libfreetype6 to dh_strip > > -- dbg-package=libfreetype6-navit > > Anything else? > > I haven't looked at freetype, but you probably will need to > modify/rename anything that refers to the libfreetype6 package name, > including .install files, shlibs/symbols files, control file and more. Worked well. > > Hmm....what is the advantage of an rpath compared to a wrapper script > > with an LD_LIBRARY_PATH? > > The advantage is that you don't need to create a wrapper script and > adjust the build system for it. I added rd@blackbox:/scratchbox/users/rd/home/rd/20110506/navit-0.2.0+dfsg.1$ grep freetype debian/rules DEB_MAKE_ENVVARS = LDFLAGS="-rpath=/opt/freetype-navit" rd@blackbox:/scratchbox/users/rd/home/rd/20110506/navit-0.2.0+dfsg.1$ That also worked :-) Paul, that was excellent mentoring. Thank you. Rainer -- Rainer Dorsch Lärchenstr. 6 D-72135 Dettenhausen 07157-734133 email: email@example.com jabber: firstname.lastname@example.org GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/
Description: This is a digitally signed message part.