file://autotools.patch;patch=1"
S="${WORKDIR}/fltk"
-inherit autotools
+inherit autotools binconfig
do_configure_prepend() {
autoconf
includedir=${STAGING_INCDIR} \
libdir=${STAGING_LIBDIR} \
datadir=${STAGING_DATADIR}
- cat fltk-config | sed -e "s,includedir=/usr/include,includedir=${STAGING_INCDIR}," \
- | sed -e "s,libdir=/usr/lib,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/fltk-config
}
python populate_packages_prepend () {
SRC_URI = "http://www.mirror.ac.uk/sites/sources.redhat.com/pub/gsl/gsl-${PV}.tar.gz"
-inherit autotools pkgconfig
+inherit autotools pkgconfig binconfig
LEAD_SONAME = "libgsl.so"
install -d ${STAGING_INCDIR}/gsl
install -m 0644 .install/usr/include/gsl/* ${STAGING_INCDIR}/gsl
-
- cat gsl-config | sed -e "s,-I/usr/include,-I${STAGING_INCDIR} -I${STAGING_INCDIR}/python2.3," \
- | sed -e "s,-L/usr/lib,-L${STAGING_LIBDIR}," > ${STAGING_BINDIR}/gsl-config
- chmod a+rx ${STAGING_BINDIR}/gsl-config
}