Package: libedit-dev
Version: 2.9.cvs.20050518-3
Severity: wishlist
Tags: patch

Hi,
pkgconfig is a cool tool to manage build dependencies and to detect
where are libraries and headers. I use it, and I use libedit in one of
my project.
I provide you a patch that adds in an ugly way a .pc file to
libedit-dev. I made it on the source got with apt-get source.
It would be cool if you can review my patch and include it in the debian
package.

Thanks in advance,
Best regards

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (499, 'experimental'), (1, 
'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.20-1-powerpc
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
fr_FR)
Shell: /bin/sh linked to /bin/bash

Versions of packages libedit-dev depends on:
ii  libedit2              2.9.cvs.20050518-3 BSD editline and history libraries
ii  libncurses5-dev       5.5-5              Developer's libraries and docs for

libedit-dev recommends no packages.

-- no debconf information
diff -Nr libedit-2.9.cvs.20050518.orig/debian/libedit-dev.files 
libedit-2.9.cvs.20050518/debian/libedit-dev.files
6a7
> usr/lib/pkgconfig/libedit.pc
diff -Nr libedit-2.9.cvs.20050518.orig/debian/libedit.pc 
libedit-2.9.cvs.20050518/debian/libedit.pc
0a1,12
> prefix=/usr
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
> 
> Name: libedit
> Description: Not just a replacement library for libreadline and libhistory.
> Version: 2.9
> Requires:
> Libs: -L${libdir} -ledit -lcurses 
> Libs.private:
> Cflags: -I${includedir}
diff -Nr libedit-2.9.cvs.20050518.orig/debian/rules 
libedit-2.9.cvs.20050518/debian/rules
57a58,59
>       install -d ${PKGDIR}/usr/lib/pkgconfig
>       install $(CURDIR)/debian/libedit.pc ${PKGDIR}/usr/lib/pkgconfig

Reply via email to