Created
August 20, 2015 20:39
-
-
Save tcr3dr/76223c8b30b0a58b85c1 to your computer and use it in GitHub Desktop.
libptp recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DESCRIPTION = "libptp" | |
HOMEPAGE = "http://sourceforge.net/projects/libptp/" | |
LICENSE = "GPLv2" | |
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |
#SECTION = "custom" | |
S = "${WORKDIR}/libptp2-${PV}" | |
PR = "r0" | |
SRC_URI = "http://iweb.dl.sourceforge.net/project/libptp/libptp2/libptp2-1.1.10/libptp2-1.1.10.tar.gz" | |
SRC_URI[md5sum] = "5a0e2965d1077c316d6ae6a8cef96238" | |
DEPENDS=" libusb " | |
inherit autotools | |
EXTRA_OEMAKE = "'CC=${CC}' 'BUILDDIR=${S}' 'CFLAGS=${CFLAGS} -L${S}/src'" | |
EXTRA_OECONF = "--mandir=${mandir} \ | |
--with-libusbdir=${STAGING_LIBDIR}" | |
#--disable-ipv6 \ | |
#--disable-ssl \ | |
#--disable-toolkit \ | |
#--disable-xslt \ | |
#--disable-largefile \ | |
#--mandir=${mandir}" | |
#do_configure() { | |
# oe_runconf | |
#} | |
do_compile() { | |
oe_runmake | |
} | |
do_install() { | |
oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} INCLUDEDIR=${includedir} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment