mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -7,11 +7,11 @@ SECTION ?= "gpe"
|
||||
inherit gettext
|
||||
|
||||
gpe_do_compile() {
|
||||
oe_runmake PREFIX=${prefix}
|
||||
oe_runmake PREFIX=${prefix}
|
||||
}
|
||||
|
||||
gpe_do_install() {
|
||||
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
|
||||
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS do_compile do_install
|
||||
|
||||
@@ -12,7 +12,7 @@ export XDG_DATA_DIRS = "${STAGING_DATADIR}"
|
||||
|
||||
# Package additional files
|
||||
FILES_${PN}-dev += "\
|
||||
${datadir}/vala/vapi/*.vapi \
|
||||
${datadir}/vala/vapi/*.deps \
|
||||
${datadir}/gir-1.0 \
|
||||
${datadir}/vala/vapi/*.vapi \
|
||||
${datadir}/vala/vapi/*.deps \
|
||||
${datadir}/gir-1.0 \
|
||||
"
|
||||
|
||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0"
|
||||
|
||||
SRC_URI = "http://www.coker.com.au/bonnie++/bonnie++-${PV}.tgz \
|
||||
file://gcc-4.3-fixes.patch \
|
||||
"
|
||||
"
|
||||
SRC_URI[md5sum] = "77a1ba78f37bdd7f024b67e1e36ad151"
|
||||
SRC_URI[sha256sum] = "c674f1182f4c20f1e6d038feceb0a6617fc3e7658dfbbac89396043b49612a26"
|
||||
|
||||
@@ -17,10 +17,10 @@ EXES = "bonnie++ zcav"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/bin
|
||||
install -d ${D}/sbin
|
||||
install -m 0755 ${EXES} ${D}/sbin
|
||||
install -m 0755 ${SCRIPTS} ${D}/bin
|
||||
install -d ${D}/bin
|
||||
install -d ${D}/sbin
|
||||
install -m 0755 ${EXES} ${D}/sbin
|
||||
install -m 0755 ${SCRIPTS} ${D}/bin
|
||||
}
|
||||
|
||||
PACKAGES =+ "bonnie-scripts"
|
||||
|
||||
@@ -17,13 +17,13 @@ SRC_URI[ssvb.sha256sum] = "bfddd3226a499ffdf71bb58c05ccdc6dac5bb2c2c3bdb10ac610e
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_compile() {
|
||||
${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ssvb-cpuburn-a8.S -o burn-neona8
|
||||
${CC} ${CFLAGS} ${LDFLAGS} burn.S -o burn
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ssvb-cpuburn-a8.S -o burn-neona8
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${S}/burn ${D}${bindir}/burn-neon
|
||||
install -m 0755 ${S}/burn-neona8 ${D}${bindir}/
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${S}/burn ${D}${bindir}/burn-neon
|
||||
install -m 0755 ${S}/burn-neona8 ${D}${bindir}/
|
||||
}
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
DEPENDS = "popt"
|
||||
|
||||
SRC_URI = "\
|
||||
http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
|
||||
file://destdir.patch \
|
||||
file://makefile.patch"
|
||||
http://samba.org/ftp/tridge/dbench/dbench-${PV}.tar.gz \
|
||||
file://destdir.patch \
|
||||
file://makefile.patch"
|
||||
|
||||
inherit autotools
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
|
||||
EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D} bindir=${bindir} mandir=${mandir}
|
||||
install -d ${D}/${docdir}/${PN}
|
||||
cp -a ${S}/examples ${D}/${docdir}/${PN}/
|
||||
oe_runmake install DESTDIR=${D} bindir=${bindir} mandir=${mandir}
|
||||
install -d ${D}/${docdir}/${PN}
|
||||
cp -a ${S}/examples ${D}/${docdir}/${PN}/
|
||||
}
|
||||
|
||||
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://iozone.c;beginline=237;endline=241;md5=ab42a6185fd044
|
||||
|
||||
|
||||
SRC_URI = "http://www.iozone.org/src/current/iozone3_263.tar \
|
||||
file://copyright.txt \
|
||||
file://fileop-arm.patch \
|
||||
"
|
||||
file://copyright.txt \
|
||||
file://fileop-arm.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "44fd88df361ec4508e10c8d6615245fa"
|
||||
SRC_URI[sha256sum] = "920fde1a3843539570e2df4aa611e74df102e52d363c5973d5a9d15bdf976461"
|
||||
|
||||
@@ -23,26 +23,26 @@ EXTRA_OEMAKE = "linux CC='${CC}'"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir} \
|
||||
${D}${mandir}/man1 \
|
||||
${D}${datadir}/doc/${PN}/examples
|
||||
install -d ${D}${bindir} \
|
||||
${D}${mandir}/man1 \
|
||||
${D}${datadir}/doc/${PN}/examples
|
||||
|
||||
install -m 0755 ${S}/iozone ${D}${bindir}
|
||||
install -m 0755 ${S}/fileop ${D}${bindir}
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
|
||||
install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${PN}/
|
||||
install -m 0755 ${S}/iozone ${D}${bindir}
|
||||
install -m 0755 ${S}/fileop ${D}${bindir}
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
|
||||
install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${PN}/
|
||||
|
||||
install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0644 ${S}/client_list ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0644 ${S}/Gnuplot.txt ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0644 ${S}/client_list ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0644 ${S}/Gnuplot.txt ${D}${datadir}/doc/${PN}/examples
|
||||
|
||||
install -m 0755 ${S}/Generate_Graphs ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0755 ${S}/Generate_Graphs ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${PN}/examples
|
||||
install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${PN}/examples
|
||||
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${PN}/
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${PN}/
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${PN}/
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${PN}/
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${PN}/
|
||||
install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${PN}/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/doc/${PN}/copyright.txt"
|
||||
@@ -66,7 +66,7 @@ FILES_${PN} += "${datadir}/doc/${PN}/copyright.txt"
|
||||
#
|
||||
# Marcin,
|
||||
#
|
||||
# Re-distribution is permitted as long as the copyright is
|
||||
# Re-distribution is permitted as long as the copyright is
|
||||
# maintained and the source code is not changed. I do not
|
||||
# see a problem with your mods to enable fileop for Linux-arm,
|
||||
# as these mods have been returned to the Iozone folks,
|
||||
|
||||
@@ -5,7 +5,7 @@ LICENSE = "NewBSD"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298"
|
||||
|
||||
SRC_URI = " \
|
||||
${SOURCEFORGE_MIRROR}/iperf/iperf-${PV}.tar.gz \
|
||||
${SOURCEFORGE_MIRROR}/iperf/iperf-${PV}.tar.gz \
|
||||
file://000-Iperf_Fix-CPU-Usage.diff \
|
||||
file://001-cast-to-max_size_t-instead-of-int.patch \
|
||||
file://003-fix-hyphen-used-as-minus-sign.patch \
|
||||
@@ -15,7 +15,7 @@ SRC_URI = " \
|
||||
file://007-iperf-reporter-deadlock.patch \
|
||||
file://008-numofreport.patch \
|
||||
file://009-delayloop.patch \
|
||||
"
|
||||
"
|
||||
|
||||
|
||||
SRC_URI[md5sum] = "8c5bc14cc2ea55f18f22afe3c23e3dcb"
|
||||
@@ -28,19 +28,19 @@ S="${WORKDIR}/iperf-${PV}"
|
||||
EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
|
||||
|
||||
do_configure() {
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
gnu-configize
|
||||
oe_runconf
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
gnu-configize
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${WORKDIR}/iperf-${PV}
|
||||
oe_runmake
|
||||
cd ${WORKDIR}/iperf-${PV}
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${WORKDIR}/iperf-${PV}/src
|
||||
oe_runmake DESTDIR=${D} install
|
||||
cd ${WORKDIR}/iperf-${PV}/src
|
||||
oe_runmake DESTDIR=${D} install
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
|
||||
file://update-results-script.patch \
|
||||
file://obey-ranlib.patch \
|
||||
file://update-config-script.patch \
|
||||
"
|
||||
"
|
||||
SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
|
||||
SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
|
||||
|
||||
@@ -24,32 +24,32 @@ EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" \
|
||||
TARGET="${TARGET_OS}" BASE="${prefix}" MANDIR="${mandir}"'
|
||||
|
||||
do_configure() {
|
||||
:
|
||||
:
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
. ${CONFIG_SITE}
|
||||
if [ X"$ac_cv_uint" = X"yes" ]; then
|
||||
CFLAGS="${CFLAGS} -DHAVE_uint"
|
||||
fi
|
||||
install -d ${S}/bin/${TARGET_SYS}
|
||||
oe_runmake -C src
|
||||
. ${CONFIG_SITE}
|
||||
if [ X"$ac_cv_uint" = X"yes" ]; then
|
||||
CFLAGS="${CFLAGS} -DHAVE_uint"
|
||||
fi
|
||||
install -d ${S}/bin/${TARGET_SYS}
|
||||
oe_runmake -C src
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${localstatedir}/run/lmbench \
|
||||
${D}${bindir} ${D}${mandir} ${D}${libdir}/lmbench \
|
||||
${D}${datadir}/lmbench/scripts
|
||||
oe_runmake 'BASE=${D}${prefix}' \
|
||||
-C src install
|
||||
mv ${D}${bindir}/line ${D}${bindir}/lm_line
|
||||
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
|
||||
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \
|
||||
-e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \
|
||||
-e 's,^CONFIG=.*$,CONFIG=$SHAREDIR/`$SCRIPTSDIR/config`,;' \
|
||||
${D}${bindir}/lmbench-run
|
||||
install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
|
||||
install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts
|
||||
install -d ${D}${localstatedir}/run/lmbench \
|
||||
${D}${bindir} ${D}${mandir} ${D}${libdir}/lmbench \
|
||||
${D}${datadir}/lmbench/scripts
|
||||
oe_runmake 'BASE=${D}${prefix}' \
|
||||
-C src install
|
||||
mv ${D}${bindir}/line ${D}${bindir}/lm_line
|
||||
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
|
||||
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \
|
||||
-e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \
|
||||
-e 's,^CONFIG=.*$,CONFIG=$SHAREDIR/`$SCRIPTSDIR/config`,;' \
|
||||
${D}${bindir}/lmbench-run
|
||||
install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
|
||||
install -m 0755 ${S}/scripts/* ${D}${datadir}/lmbench/scripts
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "debianutils"
|
||||
|
||||
@@ -12,14 +12,14 @@ SRC_URI[md5sum] = "e562451620cf5343016950462bc0dc38"
|
||||
SRC_URI[sha256sum] = "ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6"
|
||||
|
||||
do_compile () {
|
||||
echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc
|
||||
echo '${CC} ${LDFLAGS}' > conf-ld
|
||||
oe_runmake
|
||||
echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc
|
||||
echo '${CC} ${LDFLAGS}' > conf-ld
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${bindir}
|
||||
install -d ${D}${mandir}/man8
|
||||
install -m 0755 memtester ${D}${bindir}/
|
||||
install -m 0755 memtester.8 ${D}${mandir}/man8/
|
||||
install -d ${D}${bindir}
|
||||
install -d ${D}${mandir}/man8
|
||||
install -m 0755 memtester ${D}${bindir}/
|
||||
install -m 0755 memtester.8 ${D}${mandir}/man8/
|
||||
}
|
||||
|
||||
@@ -14,11 +14,11 @@ SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed
|
||||
|
||||
TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}"
|
||||
do_compile() {
|
||||
oe_runmake
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0644 NNET.DAT ${D}${bindir}/
|
||||
install -m 0755 nbench ${D}${bindir}/
|
||||
install -d ${D}${bindir}
|
||||
install -m 0644 NNET.DAT ${D}${bindir}/
|
||||
install -m 0755 nbench ${D}${bindir}/
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ SRC_URI = "\
|
||||
http://sourceforge.net/projects/tiobench/files/tiobench/${PV}/${P}.tar.gz \
|
||||
file://tiobench-makefile.patch \
|
||||
file://avoid-glibc-clashes.patch \
|
||||
"
|
||||
"
|
||||
SRC_URI[md5sum] = "bf485bf820e693c79e6bd2a38702a128"
|
||||
SRC_URI[sha256sum] = "8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc"
|
||||
|
||||
@@ -25,4 +25,4 @@ RDEPENDS_${PN} = "\
|
||||
perl-module-getopt-long \
|
||||
perl-module-overload \
|
||||
perl-module-strict \
|
||||
"
|
||||
"
|
||||
|
||||
@@ -10,19 +10,19 @@ inherit autotools
|
||||
EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
|
||||
|
||||
do_install_append () {
|
||||
mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
|
||||
install -d ${D}/${datadir}/bridge-utils
|
||||
install -d ${D}/${sysconfdir}/network/if-pre-up.d
|
||||
install -d ${D}/${sysconfdir}/network/if-post-down.d
|
||||
mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
|
||||
install -d ${D}/${datadir}/bridge-utils
|
||||
install -d ${D}/${sysconfdir}/network/if-pre-up.d
|
||||
install -d ${D}/${sysconfdir}/network/if-post-down.d
|
||||
}
|
||||
|
||||
DEPENDS = "sysfsutils"
|
||||
RRECOMMENDS_${PN} = "kernel-module-bridge"
|
||||
|
||||
pkg_postinst_${PN} () {
|
||||
update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100
|
||||
update-alternatives --install ${sbindir}/brctl brctl brctl.${PN} 100
|
||||
}
|
||||
|
||||
pkg_prerm_${PN} () {
|
||||
update-alternatives --remove brctl brctl.${PN}
|
||||
update-alternatives --remove brctl brctl.${PN}
|
||||
}
|
||||
|
||||
@@ -21,17 +21,17 @@ inherit autotools pkgconfig binconfig update-rc.d systemd
|
||||
EXTRA_OECONF = "--disable-static \
|
||||
--disable-nls \
|
||||
${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
|
||||
"
|
||||
"
|
||||
|
||||
do_install_append () {
|
||||
install -m 0755 -d ${D}${sysconfdir}/init.d
|
||||
install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
|
||||
install -m 0755 -d ${D}${sysconfdir}/init.d
|
||||
install -m 755 ${WORKDIR}/cherokee.init ${D}${sysconfdir}/init.d/cherokee
|
||||
|
||||
# clean up .la files for plugins
|
||||
rm -f ${D}${libdir}/cherokee/*.la
|
||||
# clean up .la files for plugins
|
||||
rm -f ${D}${libdir}/cherokee/*.la
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/cherokee.service ${D}${systemd_unitdir}/system
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/cherokee.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
# Put -dev near the front so we can move the .la files into it with a wildcard
|
||||
@@ -45,7 +45,7 @@ FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}"
|
||||
CONFFILES_${PN} = " \
|
||||
${sysconfdir}/cherokee/cherokee.conf \
|
||||
${sysconfdir}/init.d/cherokee \
|
||||
"
|
||||
"
|
||||
|
||||
INITSCRIPT_NAME = "cherokee"
|
||||
INITSCRIPT_PARAMS = "defaults 91 91"
|
||||
|
||||
@@ -8,6 +8,6 @@ DEPENDS = "dbus"
|
||||
EXTRA_OEMAKE = "COPTS=-DHAVE_DBUS"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${sysconfdir}/dbus-1/system.d
|
||||
install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
|
||||
install -d ${D}${sysconfdir}/dbus-1/system.d
|
||||
install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
|
||||
}
|
||||
|
||||
@@ -19,16 +19,16 @@ INITSCRIPT_NAME = "dnsmasq"
|
||||
INITSCRIPT_PARAMS = "defaults"
|
||||
|
||||
do_install () {
|
||||
oe_runmake "PREFIX=${D}${prefix}" \
|
||||
"BINDIR=${D}${bindir}" \
|
||||
"MANDIR=${D}${mandir}" \
|
||||
install
|
||||
install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d
|
||||
install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
|
||||
oe_runmake "PREFIX=${D}${prefix}" \
|
||||
"BINDIR=${D}${bindir}" \
|
||||
"MANDIR=${D}${mandir}" \
|
||||
install
|
||||
install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/init.d ${D}${sysconfdir}/dnsmasq.d
|
||||
install -m 644 ${WORKDIR}/dnsmasq.conf ${D}${sysconfdir}/
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/dnsmasq
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/dnsmasq.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf"
|
||||
|
||||
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
|
||||
HOMEPAGE = "http://www.gammu.org/"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}/${PV}/${PN}-${PV}.tar.bz2 \
|
||||
file://gammurc \
|
||||
file://gammu-smsdrc \
|
||||
"
|
||||
file://gammurc \
|
||||
file://gammu-smsdrc \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "8ea16c6b3cc48097a8e62311fe0e25b9"
|
||||
SRC_URI[sha256sum] = "de67caa102aa4c8fbed5300e5a0262e40411c4cc79f4379a8d34eed797968fc3"
|
||||
@@ -16,34 +16,34 @@ SRC_URI[sha256sum] = "de67caa102aa4c8fbed5300e5a0262e40411c4cc79f4379a8d34eed797
|
||||
inherit distutils cmake gettext
|
||||
|
||||
do_install_append() {
|
||||
# these files seem to only be used by symbian and trigger QA warnings
|
||||
rm -rf ${D}/usr/share/gammu
|
||||
#install default configuration files
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/gammurc ${D}${sysconfdir}/gammurc
|
||||
install -m 0644 ${WORKDIR}/gammu-smsdrc ${D}${sysconfdir}/gammu-smsdrc
|
||||
# these files seem to only be used by symbian and trigger QA warnings
|
||||
rm -rf ${D}/usr/share/gammu
|
||||
#install default configuration files
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/gammurc ${D}${sysconfdir}/gammurc
|
||||
install -m 0644 ${WORKDIR}/gammu-smsdrc ${D}${sysconfdir}/gammu-smsdrc
|
||||
}
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--enable-shared \
|
||||
--enable-backup \
|
||||
--enable-protection \
|
||||
"
|
||||
--enable-shared \
|
||||
--enable-backup \
|
||||
--enable-protection \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
-DWITH_CURL=OFF \
|
||||
-DWITH_BLUETOOTH=OFF \
|
||||
-DWITH_NOKIA_SUPPORT=OFF \
|
||||
-DWITH_IRDA=OFF \
|
||||
-DWITH_PYTHON=OFF \
|
||||
-DWITH_MySQL=ON \
|
||||
-DWITH_Postgres=OFF \
|
||||
"
|
||||
-DWITH_CURL=OFF \
|
||||
-DWITH_BLUETOOTH=OFF \
|
||||
-DWITH_NOKIA_SUPPORT=OFF \
|
||||
-DWITH_IRDA=OFF \
|
||||
-DWITH_PYTHON=OFF \
|
||||
-DWITH_MySQL=ON \
|
||||
-DWITH_Postgres=OFF \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-smsd libgammu libgsmsd python-${PN}"
|
||||
|
||||
FILES_${PN} = "${bindir}/gammu ${bindir}/jadmaker ${sysconfdir}/bash_completion.d/gammu \
|
||||
${bindir}/gammu-detect ${sysconfdir}/gammurc"
|
||||
${bindir}/gammu-detect ${sysconfdir}/gammurc"
|
||||
CONFFILES_${PN} = "${sysconfdir}/gammurc"
|
||||
FILES_${PN}-smsd = "${bindir}/gammu-smsd* ${sysconfdir}/gammu-smsdrc"
|
||||
CONFFILES_${PN}-smsd = "${sysconfdir}/gammu-smsdrc"
|
||||
|
||||
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/liftoff/GateOne.git \
|
||||
file://gateone-avahi.service \
|
||||
file://server.conf \
|
||||
file://gateone.service \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -19,15 +19,15 @@ inherit distutils allarch python-dir systemd
|
||||
export prefix = "${localstatedir}/lib"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${localstatedir}/log/${BPN}
|
||||
install -d ${D}${localstatedir}/log/${BPN}
|
||||
|
||||
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
|
||||
install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
|
||||
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
|
||||
install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
|
||||
|
||||
install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${localstatedir}/volatile/log ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}"
|
||||
@@ -60,6 +60,6 @@ RDEPENDS_${PN} = "file \
|
||||
python-tornado \
|
||||
python-unixadmin \
|
||||
python-xml \
|
||||
"
|
||||
"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "gateone.service"
|
||||
|
||||
@@ -26,25 +26,25 @@ RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs \
|
||||
python-compiler python-pkgutil python-pydoc python-mmap \
|
||||
python-netclient python-difflib \
|
||||
python-pprint python-numpy \
|
||||
"
|
||||
"
|
||||
RDEPENDS_${PN}-grc = "python-pygtk python-lxml python-cheetah"
|
||||
|
||||
C_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
do_configure_prepend() {
|
||||
${BUILD_CC} ${S}/gr-vocoder/lib/codec2/generate_codebook.c -o ${S}/gr-vocoder/lib/generate_codebook -lm
|
||||
echo "ADD_EXECUTABLE(generate_codebook IMPORTED)" >${S}/gr-vocoder/lib/generate_codebook.txt
|
||||
echo "SET_PROPERTY(TARGET generate_codebook APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)" >>${S}/gr-vocoder/lib/generate_codebook.txt
|
||||
echo 'SET_TARGET_PROPERTIES(generate_codebook PROPERTIES IMPORTED_LOCATION_RELEASE "${S}/gr-vocoder/lib/generate_codebook")' >>${S}/gr-vocoder/lib/generate_codebook.txt
|
||||
${BUILD_CC} ${S}/gr-vocoder/lib/codec2/generate_codebook.c -o ${S}/gr-vocoder/lib/generate_codebook -lm
|
||||
echo "ADD_EXECUTABLE(generate_codebook IMPORTED)" >${S}/gr-vocoder/lib/generate_codebook.txt
|
||||
echo "SET_PROPERTY(TARGET generate_codebook APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)" >>${S}/gr-vocoder/lib/generate_codebook.txt
|
||||
echo 'SET_TARGET_PROPERTIES(generate_codebook PROPERTIES IMPORTED_LOCATION_RELEASE "${S}/gr-vocoder/lib/generate_codebook")' >>${S}/gr-vocoder/lib/generate_codebook.txt
|
||||
}
|
||||
|
||||
do_compile_prepend() {
|
||||
cp ${S}/gr-vocoder/lib/codec2/defines.h ${OECMAKE_BUILDPATH}/gr-vocoder/lib/codec2
|
||||
cp ${S}/gr-vocoder/lib/codec2/defines.h ${OECMAKE_BUILDPATH}/gr-vocoder/lib/codec2
|
||||
}
|
||||
|
||||
PACKAGES += " \
|
||||
${PN}-examples \
|
||||
${PN}-grc \
|
||||
${PN}-examples \
|
||||
${PN}-grc \
|
||||
"
|
||||
|
||||
FILES_${PN}-grc = "${datadir}/gnuradio/grc"
|
||||
@@ -57,7 +57,7 @@ FILES_${PN} += "${prefix}/etc/gnuradio/*"
|
||||
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \
|
||||
${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \
|
||||
${datadir}/gnuradio/examples/*/.debug \
|
||||
"
|
||||
"
|
||||
FILES_${PN}-examples = "${datadir}/gnuradio/examples"
|
||||
|
||||
PV = "3.6.4.1"
|
||||
@@ -96,7 +96,7 @@ EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
|
||||
|
||||
# Only builds for machines with neon instructions. Problem is in upstream cmake.
|
||||
python () {
|
||||
if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
|
||||
raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
|
||||
if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
|
||||
raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
|
||||
}
|
||||
|
||||
|
||||
@@ -13,29 +13,29 @@ PR = "r0"
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
SRC_URI = " \
|
||||
http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
|
||||
file://defconfig \
|
||||
file://init \
|
||||
http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
|
||||
file://defconfig \
|
||||
file://init \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/hostapd-${PV}/hostapd"
|
||||
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
|
||||
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
export CFLAGS="-MMD -O2 -Wall -g -I${STAGING_INCDIR}/libnl3"
|
||||
make
|
||||
export CFLAGS="-MMD -O2 -Wall -g -I${STAGING_INCDIR}/libnl3"
|
||||
make
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir} ${D}${sysconfdir}/init.d
|
||||
install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir}
|
||||
install -m 0755 ${S}/hostapd ${D}${sbindir}
|
||||
install -m 0755 ${S}/hostapd_cli ${D}${sbindir}
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
|
||||
install -d ${D}${sbindir} ${D}${sysconfdir}/init.d
|
||||
install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir}
|
||||
install -m 0755 ${S}/hostapd ${D}${sbindir}
|
||||
install -m 0755 ${S}/hostapd_cli ${D}${sbindir}
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
|
||||
}
|
||||
|
||||
CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
|
||||
|
||||
@@ -7,7 +7,7 @@ DEPENDS = "fuse libimobiledevice"
|
||||
|
||||
SRC_URI = " \
|
||||
http://www.libimobiledevice.org/downloads/ifuse-${PV}.tar.bz2 \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "4152526b2ac3c505cb41797d997be14d"
|
||||
SRC_URI[sha256sum] = "47835c8afb72588b3202fe0b206d7ea37a68663d9aa4eaf73f0a4bcb6215fc05"
|
||||
|
||||
@@ -11,7 +11,7 @@ DEPENDS = "libnl pkgconfig"
|
||||
|
||||
SRC_URI = "http://wireless.kernel.org/download/iw/${P}.tar.bz2 \
|
||||
file://0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "1c18bfbbc8773629e5e8ac733a39540c"
|
||||
SRC_URI[sha256sum] = "df11036ac11df31f44083da962a6e9c74bdea7c01c596c4b5840f948cdb6c857"
|
||||
@@ -19,5 +19,5 @@ SRC_URI[sha256sum] = "df11036ac11df31f44083da962a6e9c74bdea7c01c596c4b5840f948cd
|
||||
EXTRA_OEMAKE = ""
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
oe_runmake DESTDIR=${D} install
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \
|
||||
file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7 \
|
||||
"
|
||||
"
|
||||
|
||||
HOMEPAGE ="http://www.libimobiledevice.org/"
|
||||
|
||||
@@ -11,7 +11,7 @@ DEPENDS = "libplist usbmuxd libtasn1 gnutls libgcrypt"
|
||||
|
||||
SRC_URI = " \
|
||||
http://www.libimobiledevice.org/downloads/libimobiledevice-${PV}.tar.bz2 \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "3f28cbc6a2e30d34685049c0abde5183"
|
||||
SRC_URI[sha256sum] = "67499cfaa6172f566ee6b0783605acffe484fb7ddc3b09881ab7ac58667ee5b8"
|
||||
|
||||
@@ -12,5 +12,5 @@ SRC_URI[sha256sum] = "0cb09e26678d1531a4fd40a748abff5142bfdad3ae11cfe3bb7ad7317a
|
||||
inherit autotools lib_package
|
||||
|
||||
do_compile_append() {
|
||||
sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
|
||||
sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
|
||||
}
|
||||
|
||||
@@ -20,5 +20,5 @@ S = "${WORKDIR}/${PN}-${PV}"
|
||||
inherit autotools binconfig
|
||||
|
||||
do_configure_prepend() {
|
||||
rm -f aclocal.m4 Makefile.am ltmain.sh
|
||||
rm -f aclocal.m4 Makefile.am ltmain.sh
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ DEPENDS = "libsigc++-2.0 openssl cppunit"
|
||||
|
||||
SRC_URI = "http://libtorrent.rakshasa.no/downloads/${PN}-${PV}.tar.gz \
|
||||
file://don-t-run-code-while-configuring-package.patch \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "e94f6c590bb02aaf4d58618f738a85f2"
|
||||
SRC_URI[sha256sum] = "34317d6783b7f8d0805274c9467475b5432a246c0de8e28fc16e3b0b43f35677"
|
||||
|
||||
@@ -23,12 +23,12 @@ SRC_URI[sha256sum] = "a178ed2f0b5a1045ec47b217ea531d0feba9208f6bcfe64b701174a5c1
|
||||
S = "${WORKDIR}/NetworkManager-${PV}"
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--with-distro=debian \
|
||||
--with-crypto=gnutls \
|
||||
--disable-more-warnings \
|
||||
--with-dhclient=${base_sbindir}/dhclient \
|
||||
--with-iptables=${sbindir}/iptables \
|
||||
--with-tests \
|
||||
--with-distro=debian \
|
||||
--with-crypto=gnutls \
|
||||
--disable-more-warnings \
|
||||
--with-dhclient=${base_sbindir}/dhclient \
|
||||
--with-iptables=${sbindir}/iptables \
|
||||
--with-tests \
|
||||
"
|
||||
|
||||
EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
|
||||
@@ -42,21 +42,21 @@ do_configure_prepend() {
|
||||
|
||||
# Work around dbus permission problems since we lack a proper at_console
|
||||
do_install_prepend() {
|
||||
sed -i -e s:deny:allow:g ${S}/src/NetworkManager.conf
|
||||
sed -i -e s:deny:allow:g ${S}/callouts/nm-dispatcher.conf
|
||||
sed -i -e s:deny:allow:g ${S}/src/NetworkManager.conf
|
||||
sed -i -e s:deny:allow:g ${S}/callouts/nm-dispatcher.conf
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}/etc/dbus-1/event.d
|
||||
# Additional test binaries
|
||||
install -d ${D}/usr/bin
|
||||
install -m 0755 ${S}/test/.libs/libnm* ${D}/usr/bin
|
||||
install -d ${D}/etc/dbus-1/event.d
|
||||
# Additional test binaries
|
||||
install -d ${D}/usr/bin
|
||||
install -m 0755 ${S}/test/.libs/libnm* ${D}/usr/bin
|
||||
|
||||
install -d ${D}/etc/NetworkManager/
|
||||
install -d ${D}/etc/NetworkManager/
|
||||
|
||||
# Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
|
||||
# With or without VPN support built in ;).
|
||||
install -d ${D}/etc/NetworkManager/VPN
|
||||
# Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
|
||||
# With or without VPN support built in ;).
|
||||
install -d ${D}/etc/NetworkManager/VPN
|
||||
}
|
||||
|
||||
PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests"
|
||||
@@ -66,23 +66,23 @@ FILES_libnmglib += "${libdir}/libnm_glib.so.*"
|
||||
FILES_libnmglib-vpn += "${libdir}/libnm_glib_vpn.so.*"
|
||||
|
||||
FILES_${PN} += " \
|
||||
${libexecdir} \
|
||||
${libdir}/pppd/*/nm-pppd-plugin.so \
|
||||
${libdir}/NetworkManager/*.so \
|
||||
${datadir}/polkit-1 \
|
||||
${datadir}/dbus-1 \
|
||||
${base_libdir}/udev/* \
|
||||
${systemd_unitdir}/system/NetworkManager-wait-online.service \
|
||||
${libexecdir} \
|
||||
${libdir}/pppd/*/nm-pppd-plugin.so \
|
||||
${libdir}/NetworkManager/*.so \
|
||||
${datadir}/polkit-1 \
|
||||
${datadir}/dbus-1 \
|
||||
${base_libdir}/udev/* \
|
||||
${systemd_unitdir}/system/NetworkManager-wait-online.service \
|
||||
"
|
||||
|
||||
RRECOMMENDS_${PN} += "iptables"
|
||||
RCONFLICTS_${PN} = "connman"
|
||||
RDEPENDS_${PN} = "wpa-supplicant dhcp-client \
|
||||
${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
|
||||
"
|
||||
${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
|
||||
"
|
||||
|
||||
FILES_${PN}-dbg += "${libdir}/NetworkManager/.debug/ \
|
||||
${libdir}/pppd/*/.debug/ "
|
||||
${libdir}/pppd/*/.debug/ "
|
||||
|
||||
FILES_${PN}-dev += "${datadir}/NetworkManager/gdb-cmd \
|
||||
${libdir}/pppd/*/*.la \
|
||||
|
||||
@@ -6,7 +6,7 @@ DEPENDS = "virtual/libusb0 bluez4"
|
||||
LICENSE = "GPLv2 & LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
|
||||
file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \
|
||||
file://disable-cable-test.patch \
|
||||
@@ -21,8 +21,8 @@ EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \
|
||||
--with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.."
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${datadir}/aclocal
|
||||
install -m 0644 ${S}/openobex.m4 ${D}${datadir}/aclocal
|
||||
install -d ${D}${datadir}/aclocal
|
||||
install -m 0644 ${S}/openobex.m4 ${D}${datadir}/aclocal
|
||||
}
|
||||
|
||||
PACKAGES += "openobex-apps"
|
||||
|
||||
@@ -8,7 +8,7 @@ RRECOMMENDS_${PN} = "kernel-module-tun"
|
||||
INC_PR = "r2"
|
||||
|
||||
SRC_URI = "http://openvpn.net/release/openvpn-${PV}.tar.gz \
|
||||
file://openvpn"
|
||||
file://openvpn"
|
||||
S = "${WORKDIR}/openvpn-${PV}"
|
||||
|
||||
CFLAGS += "-fno-inline"
|
||||
@@ -16,7 +16,7 @@ CFLAGS += "-fno-inline"
|
||||
inherit autotools
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -d ${D}/${sysconfdir}/openvpn
|
||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -d ${D}/${sysconfdir}/openvpn
|
||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
||||
}
|
||||
|
||||
@@ -17,9 +17,9 @@ CFLAGS += "-fno-inline"
|
||||
EXTRA_OECONF += "--enable-password-save"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -d ${D}/${sysconfdir}/openvpn
|
||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -d ${D}/${sysconfdir}/openvpn
|
||||
install -m 755 ${WORKDIR}/openvpn ${D}/${sysconfdir}/init.d
|
||||
}
|
||||
|
||||
SRC_URI[md5sum] = "7486d3e270ba4b033e311d3e022a0ad7"
|
||||
|
||||
@@ -12,10 +12,10 @@ SRC_URI[md5sum] = "727892c0fb35c80ee3849fbe89b45350"
|
||||
SRC_URI[sha256sum] = "ca10e4827a5f0a36e093aee6ad81b5febf81f8097d7d858889ac51ff364168c1"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake
|
||||
oe_runmake
|
||||
}
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
oe_runmake DESTDIR=${D} install
|
||||
}
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
@@ -22,12 +22,12 @@ SRC_URI = "http://www.roaringpenguin.com/files/download/${P}.tar.gz \
|
||||
inherit autotools update-rc.d
|
||||
|
||||
do_install() {
|
||||
# Install init script and default settings
|
||||
install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d
|
||||
install -m 0644 ${WORKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server
|
||||
install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server
|
||||
# Install
|
||||
oe_runmake -C ${S} RPM_INSTALL_ROOT=${D} docdir=${docdir} install
|
||||
# Install init script and default settings
|
||||
install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d
|
||||
install -m 0644 ${WORKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server
|
||||
install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server
|
||||
# Install
|
||||
oe_runmake -C ${S} RPM_INSTALL_ROOT=${D} docdir=${docdir} install
|
||||
}
|
||||
|
||||
# Insert server package before main package
|
||||
|
||||
@@ -7,7 +7,7 @@ DEPENDS = "libsigc++-2.0 curl cppunit libtorrent"
|
||||
|
||||
SRC_URI = "http://libtorrent.rakshasa.no/downloads/${PN}-${PV}.tar.gz \
|
||||
file://don-t-run-code-while-configuring-package.patch \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "0bf2f262faa8c8c8d3b11ce286ea2bf2"
|
||||
SRC_URI[sha256sum] = "9e93ca41beb1afe74ad7ad8013e0d53ae3586c9b0e97263d722f721535cc7310"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SRC_URI += "file://config-lfs.patch \
|
||||
file://quota.patch;striplevel=0 \
|
||||
"
|
||||
"
|
||||
|
||||
EXTRA_OECONF += "\
|
||||
--enable-nss-wrapper \
|
||||
|
||||
@@ -8,7 +8,7 @@ SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
|
||||
file://init.samba \
|
||||
file://init.winbind \
|
||||
file://tdb.pc \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/samba-${PV}/source"
|
||||
|
||||
@@ -49,51 +49,51 @@ INITSCRIPT_PARAMS = "defaults"
|
||||
CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf"
|
||||
|
||||
do_configure_prepend () {
|
||||
./script/mkversion.sh
|
||||
if [ ! -e acinclude.m4 ]; then
|
||||
touch aclocal.m4
|
||||
cat aclocal.m4 > acinclude.m4
|
||||
fi
|
||||
./script/mkversion.sh
|
||||
if [ ! -e acinclude.m4 ]; then
|
||||
touch aclocal.m4
|
||||
cat aclocal.m4 > acinclude.m4
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake proto_exists
|
||||
base_do_compile
|
||||
oe_runmake proto_exists
|
||||
base_do_compile
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${libdir}/pkgconfig/
|
||||
cp ${WORKDIR}/tdb.pc ${D}${libdir}/pkgconfig/
|
||||
mv ${D}${libdir}/libsmbclient.so ${D}${libdir}/libsmbclient.so.0 || true
|
||||
ln -sf libsmbclient.so.0 ${D}${libdir}/libsmbclient.so
|
||||
mkdir -p ${D}${base_sbindir}
|
||||
rm -f ${D}${bindir}/*.old
|
||||
rm -f ${D}${sbindir}/*.old
|
||||
[ -f ${D}${sbindir}/mount.cifs ] && mv ${D}${sbindir}/mount.cifs ${D}${base_sbindir}/
|
||||
[ -f ${D}${sbindir}/umount.cifs ] && mv ${D}${sbindir}/umount.cifs ${D}${base_sbindir}/
|
||||
install -d ${D}${libdir}/pkgconfig/
|
||||
cp ${WORKDIR}/tdb.pc ${D}${libdir}/pkgconfig/
|
||||
mv ${D}${libdir}/libsmbclient.so ${D}${libdir}/libsmbclient.so.0 || true
|
||||
ln -sf libsmbclient.so.0 ${D}${libdir}/libsmbclient.so
|
||||
mkdir -p ${D}${base_sbindir}
|
||||
rm -f ${D}${bindir}/*.old
|
||||
rm -f ${D}${sbindir}/*.old
|
||||
[ -f ${D}${sbindir}/mount.cifs ] && mv ${D}${sbindir}/mount.cifs ${D}${base_sbindir}/
|
||||
[ -f ${D}${sbindir}/umount.cifs ] && mv ${D}${sbindir}/umount.cifs ${D}${base_sbindir}/
|
||||
|
||||
# This is needed for < 3.2.4
|
||||
rm -f ${D}${sbindir}/mount.smbfs ${D}${base_sbindir}/mount.smbfs
|
||||
if [ -f ${D}${bindir}/smbmount ]; then
|
||||
ln -sf ${bindir}/smbmount ${D}${base_sbindir}/mount.smb
|
||||
ln -sf ${bindir}/smbmount ${D}${base_sbindir}/mount.smbfs
|
||||
fi
|
||||
|
||||
# This is needed for < 3.2.4
|
||||
rm -f ${D}${sbindir}/mount.smbfs ${D}${base_sbindir}/mount.smbfs
|
||||
if [ -f ${D}${bindir}/smbmount ]; then
|
||||
ln -sf ${bindir}/smbmount ${D}${base_sbindir}/mount.smb
|
||||
ln -sf ${bindir}/smbmount ${D}${base_sbindir}/mount.smbfs
|
||||
fi
|
||||
|
||||
install -D -m 755 ${WORKDIR}/init.samba ${D}${sysconfdir}/init.d/samba
|
||||
install -D -m 755 ${WORKDIR}/init.winbind ${D}${sysconfdir}/init.d/winbind
|
||||
install -D -m 644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
|
||||
install -D -m 644 ${WORKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/volatiles.03_samba
|
||||
install -d ${D}/var/log/samba
|
||||
install -d ${D}/var/spool/samba
|
||||
install -D -m 644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
|
||||
install -D -m 644 ${WORKDIR}/volatiles.03_samba ${D}${sysconfdir}/default/volatiles/volatiles.03_samba
|
||||
install -d ${D}/var/log/samba
|
||||
install -d ${D}/var/spool/samba
|
||||
|
||||
# Install other stuff not installed by "make install"
|
||||
if [ -d ${WORKDIR}/${PN}-${PV}/nsswitch ]; then
|
||||
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
|
||||
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
|
||||
fi
|
||||
# Install other stuff not installed by "make install"
|
||||
if [ -d ${WORKDIR}/${PN}-${PV}/nsswitch ]; then
|
||||
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
|
||||
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
|
||||
fi
|
||||
|
||||
rmdir --ignore-fail-on-non-empty ${D}${base_sbindir}
|
||||
sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
|
||||
rmdir --ignore-fail-on-non-empty ${D}${base_sbindir}
|
||||
sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
|
||||
}
|
||||
|
||||
|
||||
@@ -102,8 +102,8 @@ pkg_postinst_libnss-winbind () {
|
||||
# add wins to the list of resolvers
|
||||
ns=$D${sysconfdir}/nsswitch.conf
|
||||
if ! grep "hosts:.*wins" $ns > /dev/null; then
|
||||
hosts="`grep '^hosts:' $ns`"
|
||||
hosts=`echo "$hosts" | sed 's/\[/\\\\[/g; s/\]/\\\\]/g'`
|
||||
sed -i "s/$hosts/$hosts wins/" "$ns"
|
||||
hosts="`grep '^hosts:' $ns`"
|
||||
hosts=`echo "$hosts" | sed 's/\[/\\\\[/g; s/\]/\\\\]/g'`
|
||||
sed -i "s/$hosts/$hosts wins/" "$ns"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -36,24 +36,24 @@ SRC_URI[sha256sum] = "4f5a171a8d902c6b4f822ed875c51eb8339196d9ccf0ecd7f6521c966b
|
||||
S = "${WORKDIR}/samba-${PV}/source3"
|
||||
|
||||
EXTRA_OECONF += "\
|
||||
ac_cv_path_PYTHON=/not/exist \
|
||||
ac_cv_path_PYTHON_CONFIG=/not/exist \
|
||||
SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
|
||||
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
|
||||
linux_getgrouplist_ok=no \
|
||||
samba_cv_HAVE_BROKEN_GETGROUPS=no \
|
||||
samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
|
||||
samba_cv_have_setresuid=yes \
|
||||
samba_cv_have_setresgid=yes \
|
||||
samba_cv_HAVE_WRFILE_KEYTAB=yes \
|
||||
samba_cv_linux_getgrouplist_ok=yes \
|
||||
"
|
||||
ac_cv_path_PYTHON=/not/exist \
|
||||
ac_cv_path_PYTHON_CONFIG=/not/exist \
|
||||
SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
|
||||
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
|
||||
linux_getgrouplist_ok=no \
|
||||
samba_cv_HAVE_BROKEN_GETGROUPS=no \
|
||||
samba_cv_HAVE_FTRUNCATE_EXTEND=yes \
|
||||
samba_cv_have_setresuid=yes \
|
||||
samba_cv_have_setresgid=yes \
|
||||
samba_cv_HAVE_WRFILE_KEYTAB=yes \
|
||||
samba_cv_linux_getgrouplist_ok=yes \
|
||||
"
|
||||
|
||||
do_configure() {
|
||||
gnu-configize --force
|
||||
oe_runconf
|
||||
gnu-configize --force
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
base_do_compile
|
||||
base_do_compile
|
||||
}
|
||||
|
||||
@@ -15,11 +15,11 @@ SRC_URI[sha256sum] = "217efa814fb031ad136bd3dcf89ca219dd6d7ee01aa7e65c56c56b7737
|
||||
S = "${WORKDIR}/uhd-images_${PV}-release"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${datadir}/uhd/images
|
||||
install -d ${D}${datadir}/uhd/images/bit
|
||||
install -m 0644 ${S}/share/uhd/images/bit/* ${D}${datadir}/uhd/images/bit
|
||||
rm -rf ${S}/share/uhd/images/bit
|
||||
install -m 0644 ${S}/share/uhd/images/* ${D}${datadir}/uhd/images
|
||||
install -d ${D}${datadir}/uhd/images
|
||||
install -d ${D}${datadir}/uhd/images/bit
|
||||
install -m 0644 ${S}/share/uhd/images/bit/* ${D}${datadir}/uhd/images/bit
|
||||
rm -rf ${S}/share/uhd/images/bit
|
||||
install -m 0644 ${S}/share/uhd/images/* ${D}${datadir}/uhd/images
|
||||
}
|
||||
|
||||
PACKAGES = "${PN}"
|
||||
|
||||
@@ -4,7 +4,7 @@ PV = "3.5.2"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
SRC_URI = "git://ettus.sourcerepo.com/ettus/uhd.git;branch=maint;protocol=git \
|
||||
"
|
||||
"
|
||||
S = "${WORKDIR}/git/host"
|
||||
|
||||
SRCREV = "0cce80c1ef2bcdb5094d579a6853261cebd2ec03"
|
||||
|
||||
@@ -18,21 +18,21 @@ CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf"
|
||||
LDFLAGS_append =" -lcrypt -lcap"
|
||||
|
||||
do_configure() {
|
||||
# Fix hardcoded /usr, /etc, /var mess.
|
||||
cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \
|
||||
|sed s:\"${prefix}/share/empty:\"${localstatedir}/share/empty:g |sed s:\"/etc:\"${sysconfdir}:g > tunables.c.new
|
||||
mv tunables.c.new tunables.c
|
||||
# Fix hardcoded /usr, /etc, /var mess.
|
||||
cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \
|
||||
|sed s:\"${prefix}/share/empty:\"${localstatedir}/share/empty:g |sed s:\"/etc:\"${sysconfdir}:g > tunables.c.new
|
||||
mv tunables.c.new tunables.c
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir}
|
||||
install -d ${D}${mandir}/man8
|
||||
install -d ${D}${mandir}/man5
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0755 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd
|
||||
install -d ${D}${sbindir}
|
||||
install -d ${D}${mandir}/man8
|
||||
install -d ${D}${mandir}/man5
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0755 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd
|
||||
}
|
||||
|
||||
INITSCRIPT_PACKAGES = "${PN}"
|
||||
|
||||
@@ -6,8 +6,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
SRC_URI += "file://busybox-syslog.default"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/default
|
||||
install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog
|
||||
install -d ${D}${sysconfdir}/default
|
||||
install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog
|
||||
}
|
||||
|
||||
FILES_${PN}-syslog += "${sysconfdir}/default/busybox-syslog"
|
||||
|
||||
@@ -12,11 +12,11 @@ SRC_URI = "git://git.collabora.co.uk/git/user/alban/dbus-daemon-proxy;protocol=g
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile() {
|
||||
${CC} ${LDFLAGS} `pkg-config --cflags --libs dbus-glib-1` -o dbus-daemon-proxy dbus-daemon-proxy.c
|
||||
${CC} ${LDFLAGS} `pkg-config --cflags --libs dbus-glib-1` -o dbus-daemon-proxy dbus-daemon-proxy.c
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 dbus-daemon-proxy ${D}${bindir}
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 dbus-daemon-proxy ${D}${bindir}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ inherit autotools
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
do_configure_prepend() {
|
||||
# workaround for endless do_configure loop:
|
||||
# make: Warning: File `Makefile.am' has modification time 5.3e+04 s in the future
|
||||
touch ${S}/*
|
||||
# workaround for endless do_configure loop:
|
||||
# make: Warning: File `Makefile.am' has modification time 5.3e+04 s in the future
|
||||
touch ${S}/*
|
||||
}
|
||||
|
||||
@@ -6,18 +6,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "\
|
||||
${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \
|
||||
${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \
|
||||
"
|
||||
|
||||
inherit autotools
|
||||
|
||||
do_configure_prepend() {
|
||||
mkdir -p ${S}/build-aux
|
||||
mkdir -p ${S}/build-aux
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${includedir}/fakeroot
|
||||
install -m 644 *.h ${D}${includedir}/fakeroot
|
||||
install -d ${D}${includedir}/fakeroot
|
||||
install -m 644 *.h ${D}${includedir}/fakeroot
|
||||
}
|
||||
|
||||
# fakeroot needs getopt which is provided by the util-linux package
|
||||
|
||||
@@ -14,11 +14,11 @@ SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${datadir}/glibmm-2.4
|
||||
install -d ${D}${datadir}/aclocal
|
||||
install -d ${D}${datadir}/glibmm-2.4
|
||||
install -d ${D}${datadir}/aclocal
|
||||
|
||||
install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/
|
||||
install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || true
|
||||
install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/
|
||||
install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || true
|
||||
}
|
||||
|
||||
FILES_${PN} = "${libdir}/lib*.so.*"
|
||||
|
||||
@@ -23,7 +23,7 @@ inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--with-jpeg8 "
|
||||
|
||||
PACKAGES =+ "jpeg-tools libturbojpeg"
|
||||
PACKAGES =+ "jpeg-tools libturbojpeg"
|
||||
|
||||
DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs for access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files."
|
||||
FILES_jpeg-tools = "${bindir}/*"
|
||||
|
||||
@@ -13,8 +13,8 @@ do_compile() {
|
||||
done
|
||||
}
|
||||
do_install () {
|
||||
install -d ${D}${sysconfdir}/opkg
|
||||
install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
|
||||
install -d ${D}${sysconfdir}/opkg
|
||||
install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -35,9 +35,9 @@ RCONFLICTS_${PN} += "task-basic"
|
||||
# Util-linux (u)mount is included because the busybox one can't handle /etc/mtab being symlinked to /proc/mounts
|
||||
#
|
||||
RDEPENDS_${PN} = "\
|
||||
${TASK_BASIC_SSHDAEMON} \
|
||||
avahi-daemon avahi-utils \
|
||||
"
|
||||
${TASK_BASIC_SSHDAEMON} \
|
||||
avahi-daemon avahi-utils \
|
||||
"
|
||||
|
||||
#
|
||||
# The following section is split in 3:
|
||||
@@ -46,16 +46,16 @@ RDEPENDS_${PN} = "\
|
||||
# 3) Nice to have: packages that are nice to have, but aren't strictly needed
|
||||
#
|
||||
RRECOMMENDS_${PN} = "\
|
||||
${MACHINE_EXTRA_RRECOMMENDS} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbhost", "usbutils", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "alsa", "alsa-utils-alsamixer", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-serial kernel-module-g-mass-storage", "", d)} \
|
||||
\
|
||||
${@base_contains("DISTRO_FEATURES", "bluetooth", "bluez4", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \
|
||||
\
|
||||
tzdata \
|
||||
\
|
||||
cpufrequtils \
|
||||
htop \
|
||||
"
|
||||
${MACHINE_EXTRA_RRECOMMENDS} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbhost", "usbutils", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "alsa", "alsa-utils-alsamixer", "", d)} \
|
||||
${@base_contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-serial kernel-module-g-mass-storage", "", d)} \
|
||||
\
|
||||
${@base_contains("DISTRO_FEATURES", "bluetooth", "bluez4", "", d)} \
|
||||
${@base_contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \
|
||||
\
|
||||
tzdata \
|
||||
\
|
||||
cpufrequtils \
|
||||
htop \
|
||||
"
|
||||
|
||||
@@ -33,9 +33,9 @@ RDEPENDS_${PN} = "\
|
||||
netbase \
|
||||
${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
|
||||
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
|
||||
"
|
||||
"
|
||||
|
||||
RRECOMMENDS_${PN} = "\
|
||||
kernel \
|
||||
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
|
||||
"
|
||||
"
|
||||
|
||||
@@ -18,36 +18,36 @@ RCONFLICTS_${PN} += "task-cli-tools"
|
||||
RCONFLICTS_${PN}-debug += "task-cli-tools-debug"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
dbus-daemon-proxy \
|
||||
dosfstools \
|
||||
htop \
|
||||
iptables \
|
||||
lsof \
|
||||
mbuffer \
|
||||
mtd-utils \
|
||||
nano \
|
||||
nfs-utils-client \
|
||||
nmon \
|
||||
powertop \
|
||||
screen \
|
||||
socat \
|
||||
sysstat \
|
||||
dbus-daemon-proxy \
|
||||
dosfstools \
|
||||
htop \
|
||||
iptables \
|
||||
lsof \
|
||||
mbuffer \
|
||||
mtd-utils \
|
||||
nano \
|
||||
nfs-utils-client \
|
||||
nmon \
|
||||
powertop \
|
||||
screen \
|
||||
socat \
|
||||
sysstat \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-debug = "\
|
||||
evtest \
|
||||
devmem2 \
|
||||
i2c-tools \
|
||||
gdb \
|
||||
procps \
|
||||
pxaregs \
|
||||
s3c24xx-gpio \
|
||||
s3c64xx-gpio \
|
||||
serial-forward \
|
||||
strace \
|
||||
tcpdump \
|
||||
evtest \
|
||||
devmem2 \
|
||||
i2c-tools \
|
||||
gdb \
|
||||
procps \
|
||||
pxaregs \
|
||||
s3c24xx-gpio \
|
||||
s3c64xx-gpio \
|
||||
serial-forward \
|
||||
strace \
|
||||
tcpdump \
|
||||
"
|
||||
|
||||
RRECOMMENDS_${PN}-debug = "\
|
||||
ltrace \
|
||||
ltrace \
|
||||
"
|
||||
|
||||
@@ -11,7 +11,7 @@ PE = "1"
|
||||
SRC_URI = "git://gitorious.org/meego-developer-tools/bootchart.git \
|
||||
file://0001-svg-add-rudimentary-support-for-ARM-cpuinfo.patch \
|
||||
file://0002-svg-open-etc-os-release-and-use-PRETTY_NAME-for-the-.patch \
|
||||
"
|
||||
"
|
||||
|
||||
SRCREV = "872fb107028e377eef3c0c7c8a6e0f7c32b8ebb8"
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
|
||||
file://cloud9-avahi.service \
|
||||
file://cloud9.service \
|
||||
file://0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch \
|
||||
"
|
||||
"
|
||||
|
||||
SRCREV_cloud9ide = "c4e2574896a22bb749f0500b25f41c888d346bed"
|
||||
SRCREV_o3 = "302cd3a6d5039f53a9fa3932bed88b53281c1e1e"
|
||||
@@ -68,46 +68,46 @@ SRCREV_FORMAT = "cloud9ide"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure () {
|
||||
cd ${WORKDIR}/o3
|
||||
node-waf -vv configure
|
||||
cd ${WORKDIR}/o3
|
||||
node-waf -vv configure
|
||||
}
|
||||
|
||||
EXTRA_CXXFLAGS = "-Idefault/include -I../include -Idefault/hosts -I../hosts -Idefault/modules -I../modules -Idefault/deps -I../deps -I${STAGING_DIR_NATIVE}/usr/include/node4 -fPIC -DPIC"
|
||||
|
||||
do_compile () {
|
||||
cd ${WORKDIR}/o3
|
||||
node4 tools/gluegen.js
|
||||
cd hosts
|
||||
${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node.o node-o3/sh_node.cc
|
||||
${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node_libs.o node-o3/sh_node_libs.cc
|
||||
cd ..
|
||||
${CXX} ${TARGET_LDFLAGS} hosts/sh_node.o hosts/sh_node_libs.o -o o3.node -shared -Wl,-Bdynamic -lxml2
|
||||
cd ${WORKDIR}/o3
|
||||
node4 tools/gluegen.js
|
||||
cd hosts
|
||||
${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node.o node-o3/sh_node.cc
|
||||
${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node_libs.o node-o3/sh_node_libs.cc
|
||||
cd ..
|
||||
${CXX} ${TARGET_LDFLAGS} hosts/sh_node.o hosts/sh_node_libs.o -o o3.node -shared -Wl,-Bdynamic -lxml2
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -m 0755 -d ${D}${datadir}/cloud9 ${D}${bindir} ${D}/var/lib/cloud9
|
||||
rsync -r --exclude=".*" ${S}/* ${D}${datadir}/cloud9
|
||||
install -m 0755 -d ${D}${datadir}/cloud9 ${D}${bindir} ${D}/var/lib/cloud9
|
||||
rsync -r --exclude=".*" ${S}/* ${D}${datadir}/cloud9
|
||||
|
||||
touch ${D}${bindir}/cloud9
|
||||
echo "#!/bin/sh" > ${D}${bindir}/cloud9
|
||||
echo "node4 ${datadir}/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9
|
||||
chmod 0755 ${D}${bindir}/cloud9
|
||||
touch ${D}${bindir}/cloud9
|
||||
echo "#!/bin/sh" > ${D}${bindir}/cloud9
|
||||
echo "node4 ${datadir}/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9
|
||||
chmod 0755 ${D}${bindir}/cloud9
|
||||
|
||||
install -m 0755 -d ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml
|
||||
install -m 0644 ${WORKDIR}/index.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/index.js
|
||||
install -m 0644 ${WORKDIR}/o3/modules/o3.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.js
|
||||
install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.node
|
||||
install -m 0755 -d ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml
|
||||
install -m 0644 ${WORKDIR}/index.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/index.js
|
||||
install -m 0644 ${WORKDIR}/o3/modules/o3.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.js
|
||||
install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.node
|
||||
|
||||
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
|
||||
install -m 0644 ${WORKDIR}/cloud9-avahi.service ${D}${sysconfdir}/avahi/services/
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system
|
||||
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
|
||||
install -m 0644 ${WORKDIR}/cloud9-avahi.service ${D}${sysconfdir}/avahi/services/
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/.debug \
|
||||
${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/.debug \
|
||||
"
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} = "nodejs4 nodejs gzip"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ SRCREV = "900d203aa9e41288545368ea40da0bee89f7907f"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f12611e65e064515ce264249b2bdea98"
|
||||
SRC_URI = "git://git.concurrencykit.org/ck.git;protocol=git \
|
||||
file://cross.patch \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -23,18 +23,18 @@ PLAT_powerpc64 = "ppc64"
|
||||
PLAT ?= "${HOST_ARCH}"
|
||||
|
||||
do_configure () {
|
||||
export PLATFORM=${PLAT}
|
||||
export COMPILER='gcc'
|
||||
${S}/configure \
|
||||
--prefix=${prefix} \
|
||||
--includedir=${includedir} \
|
||||
--libdir=${libdir} \
|
||||
export PLATFORM=${PLAT}
|
||||
export COMPILER='gcc'
|
||||
${S}/configure \
|
||||
--prefix=${prefix} \
|
||||
--includedir=${includedir} \
|
||||
--libdir=${libdir} \
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "f180a5018eee6e3fe574854cb025af897dd9962b01d17d5752e626876d
|
||||
EXTRA_OECONF += "--disable-scrollkeeper"
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i '/^if HAVE_GNOME_DOC_UTILS/,/^endif/d' ${S}/Makefile.am
|
||||
sed -i '/^if HAVE_GNOME_DOC_UTILS/,/^endif/d' ${S}/Makefile.am
|
||||
}
|
||||
|
||||
FILES_${PN} += "${datadir}/icons"
|
||||
|
||||
@@ -9,16 +9,16 @@ SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
|
||||
S = "${WORKDIR}/sqlite-${PV}/tool"
|
||||
|
||||
do_compile() {
|
||||
${CC} ${CFLAGS} lemon.c -c -o lemon.o
|
||||
${CCLD} ${LDFLAGS} lemon.o -o lemon
|
||||
${CC} ${CFLAGS} lemon.c -c -o lemon.o
|
||||
${CCLD} ${LDFLAGS} lemon.o -o lemon
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 lemon ${D}${bindir}
|
||||
install -m 0644 lempar.c ${D}${bindir}
|
||||
install -d ${D}${mandir}/man1
|
||||
install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 lemon ${D}${bindir}
|
||||
install -m 0644 lempar.c ${D}${bindir}
|
||||
install -d ${D}${mandir}/man1
|
||||
install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
@@ -21,15 +21,15 @@ EXTRA_OEMAKE = "CC='${CC}'"
|
||||
HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h"
|
||||
|
||||
do_compile() {
|
||||
echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS
|
||||
oe_runmake lnp
|
||||
echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS
|
||||
oe_runmake lnp
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${includedir}/c-client
|
||||
install ${HEADERS} ${D}${includedir}/c-client
|
||||
install -d ${D}${libdir}
|
||||
install c-client/c-client.a ${D}${libdir}/libc-client.a
|
||||
install -d ${D}${includedir}/c-client
|
||||
install ${HEADERS} ${D}${includedir}/c-client
|
||||
install -d ${D}${libdir}
|
||||
install c-client/c-client.a ${D}${libdir}/libc-client.a
|
||||
}
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
@@ -11,8 +11,8 @@ PE = "1"
|
||||
|
||||
inherit autotools vala
|
||||
do_configure_prepend() {
|
||||
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
|
||||
for i in ${MACROS}; do
|
||||
rm -f m4/$i
|
||||
done
|
||||
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
|
||||
for i in ${MACROS}; do
|
||||
rm -f m4/$i
|
||||
done
|
||||
}
|
||||
|
||||
@@ -22,42 +22,42 @@ S = "${WORKDIR}/git"
|
||||
LTPROOT = "/opt/ltp"
|
||||
|
||||
EXTRA_OEMAKE_append = " \
|
||||
prefix=${LTPROOT} \
|
||||
CROSS_COMPILE=${HOST_PREFIX} \
|
||||
SKIP_IDCHECK=1 \
|
||||
KERNEL_INC=${STAGING_KERNEL_DIR}/include \
|
||||
KERNEL_USR_INC=${STAGING_INCDIR} \
|
||||
ALSA_INCPATH=${STAGING_INCDIR} \
|
||||
ALSA_LIBPATH=${STAGING_LIBDIR} \
|
||||
PLATFORM=${MACHINE} \
|
||||
prefix=${LTPROOT} \
|
||||
CROSS_COMPILE=${HOST_PREFIX} \
|
||||
SKIP_IDCHECK=1 \
|
||||
KERNEL_INC=${STAGING_KERNEL_DIR}/include \
|
||||
KERNEL_USR_INC=${STAGING_INCDIR} \
|
||||
ALSA_INCPATH=${STAGING_INCDIR} \
|
||||
ALSA_LIBPATH=${STAGING_LIBDIR} \
|
||||
PLATFORM=${MACHINE} \
|
||||
"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
FILES_${PN}-dbg += " \
|
||||
${LTPROOT}/.debug \
|
||||
${LTPROOT}/bin/.debug \
|
||||
${LTPROOT}/runtest/.debug \
|
||||
${LTPROOT}/testcases/bin/.debug \
|
||||
${LTPROOT}/testcases/bin/*/bin/.debug \
|
||||
${LTPROOT}/testcases/bin/*/test/.debug \
|
||||
${LTPROOT}/testcases/bin/ddt/.debug \
|
||||
${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
|
||||
${LTPROOT}/testcases/bin/ddt/*/test/.debug \
|
||||
${LTPROOT}/.debug \
|
||||
${LTPROOT}/bin/.debug \
|
||||
${LTPROOT}/runtest/.debug \
|
||||
${LTPROOT}/testcases/bin/.debug \
|
||||
${LTPROOT}/testcases/bin/*/bin/.debug \
|
||||
${LTPROOT}/testcases/bin/*/test/.debug \
|
||||
${LTPROOT}/testcases/bin/ddt/.debug \
|
||||
${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
|
||||
${LTPROOT}/testcases/bin/ddt/*/test/.debug \
|
||||
"
|
||||
|
||||
FILES_${PN} += "${LTPROOT}/*"
|
||||
|
||||
do_configure() {
|
||||
cp ${S}/include/config.h.default ${S}/include/config.h
|
||||
cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
|
||||
cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
|
||||
echo "${TAG}" > ${S}/ChangeLog
|
||||
cp ${S}/include/config.h.default ${S}/include/config.h
|
||||
cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
|
||||
cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
|
||||
echo "${TAG}" > ${S}/ChangeLog
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
install -d ${D}${datadir}
|
||||
cp -a ${D}${LTPROOT}/share/* ${D}${datadir}
|
||||
rm -rf ${D}${LTPROOT}/share/
|
||||
oe_runmake DESTDIR=${D} install
|
||||
install -d ${D}${datadir}
|
||||
cp -a ${D}${LTPROOT}/share/* ${D}${datadir}
|
||||
rm -rf ${D}${LTPROOT}/share/
|
||||
}
|
||||
|
||||
@@ -11,14 +11,14 @@ PR = "r5"
|
||||
COMPATIBLE_TARGET_SYS = "(?!sh[34])"
|
||||
|
||||
SRC_URI = "\
|
||||
${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}.orig.tar.gz;name=archive \
|
||||
${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}-2.1.diff.gz;name=patch \
|
||||
file://add-sysdep.patch \
|
||||
file://ltrace-compile.patch \
|
||||
file://ltrace-mips-remove-CP.patch \
|
||||
file://ltrace-mips.patch \
|
||||
file://ltrace-ppc.patch \
|
||||
file://ltrace-fix-sysdep_h-dependency.patch \
|
||||
${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}.orig.tar.gz;name=archive \
|
||||
${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}-2.1.diff.gz;name=patch \
|
||||
file://add-sysdep.patch \
|
||||
file://ltrace-compile.patch \
|
||||
file://ltrace-mips-remove-CP.patch \
|
||||
file://ltrace-mips.patch \
|
||||
file://ltrace-ppc.patch \
|
||||
file://ltrace-fix-sysdep_h-dependency.patch \
|
||||
"
|
||||
inherit autotools
|
||||
|
||||
@@ -26,53 +26,53 @@ export TARGET_CFLAGS = "${SELECTED_OPTIMIZATION} -isystem ${STAGING_INCDIR}"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
do_configure_prepend() {
|
||||
case ${TARGET_ARCH} in
|
||||
arm*) ln -sf ./linux-gnu sysdeps/linux-gnueabi ;;
|
||||
mips*) ln -sf ./mipsel sysdeps/linux-gnu/mips ;;
|
||||
esac
|
||||
sed -e 's:uname -m:echo @HOST_CPU@:' \
|
||||
sysdeps/linux-gnu/Makefile > sysdeps/linux-gnu/Makefile.in
|
||||
case ${TARGET_ARCH} in
|
||||
arm*) ln -sf ./linux-gnu sysdeps/linux-gnueabi ;;
|
||||
mips*) ln -sf ./mipsel sysdeps/linux-gnu/mips ;;
|
||||
esac
|
||||
sed -e 's:uname -m:echo @HOST_CPU@:' \
|
||||
sysdeps/linux-gnu/Makefile > sysdeps/linux-gnu/Makefile.in
|
||||
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
case ${TARGET_ARCH} in
|
||||
alpha*) LTRACE_ARCH=alpha ;;
|
||||
arm*) LTRACE_ARCH=arm ;;
|
||||
cris*) LTRACE_ARCH=cris ;;
|
||||
hppa*) LTRACE_ARCH=parisc ;;
|
||||
i*86*) LTRACE_ARCH=i386 ;;
|
||||
ia64*) LTRACE_ARCH=ia64 ;;
|
||||
mips*) LTRACE_ARCH=mips ;;
|
||||
m68k*) LTRACE_ARCH=m68k ;;
|
||||
powerpc*) LTRACE_ARCH=ppc ;;
|
||||
s390*) LTRACE_ARCH=s390 ;;
|
||||
sh*) LTRACE_ARCH=sh ;;
|
||||
sparc64*) LTRACE_ARCH=sparc64 ;;
|
||||
sparc*) LTRACE_ARCH=sparc ;;
|
||||
x86_64*) LTRACE_ARCH=x86_64 ;;
|
||||
esac
|
||||
oe_runmake LDFLAGS="${TARGET_LDFLAGS}" LIBS="-lsupc++ -liberty -Wl,-Bstatic -lelf -Wl,-Bdynamic" ${EXTRA_OEMAKE} ARCH=${LTRACE_ARCH}
|
||||
case ${TARGET_ARCH} in
|
||||
alpha*) LTRACE_ARCH=alpha ;;
|
||||
arm*) LTRACE_ARCH=arm ;;
|
||||
cris*) LTRACE_ARCH=cris ;;
|
||||
hppa*) LTRACE_ARCH=parisc ;;
|
||||
i*86*) LTRACE_ARCH=i386 ;;
|
||||
ia64*) LTRACE_ARCH=ia64 ;;
|
||||
mips*) LTRACE_ARCH=mips ;;
|
||||
m68k*) LTRACE_ARCH=m68k ;;
|
||||
powerpc*) LTRACE_ARCH=ppc ;;
|
||||
s390*) LTRACE_ARCH=s390 ;;
|
||||
sh*) LTRACE_ARCH=sh ;;
|
||||
sparc64*) LTRACE_ARCH=sparc64 ;;
|
||||
sparc*) LTRACE_ARCH=sparc ;;
|
||||
x86_64*) LTRACE_ARCH=x86_64 ;;
|
||||
esac
|
||||
oe_runmake LDFLAGS="${TARGET_LDFLAGS}" LIBS="-lsupc++ -liberty -Wl,-Bstatic -lelf -Wl,-Bdynamic" ${EXTRA_OEMAKE} ARCH=${LTRACE_ARCH}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
case ${TARGET_ARCH} in
|
||||
alpha*) LTRACE_ARCH=alpha ;;
|
||||
arm*) LTRACE_ARCH=arm ;;
|
||||
cris*) LTRACE_ARCH=cris ;;
|
||||
hppa*) LTRACE_ARCH=parisc ;;
|
||||
i*86*) LTRACE_ARCH=i386 ;;
|
||||
ia64*) LTRACE_ARCH=ia64 ;;
|
||||
mips*) LTRACE_ARCH=mips ;;
|
||||
m68k*) LTRACE_ARCH=m68k ;;
|
||||
powerpc*) LTRACE_ARCH=ppc ;;
|
||||
s390*) LTRACE_ARCH=s390 ;;
|
||||
sh*) LTRACE_ARCH=sh ;;
|
||||
sparc64*) LTRACE_ARCH=sparc64 ;;
|
||||
sparc*) LTRACE_ARCH=sparc ;;
|
||||
x86_64*) LTRACE_ARCH=x86_64 ;;
|
||||
esac
|
||||
oe_runmake install ${EXTRA_OEMAKE} ARCH=${LTRACE_ARCH} DESTDIR=${D}
|
||||
case ${TARGET_ARCH} in
|
||||
alpha*) LTRACE_ARCH=alpha ;;
|
||||
arm*) LTRACE_ARCH=arm ;;
|
||||
cris*) LTRACE_ARCH=cris ;;
|
||||
hppa*) LTRACE_ARCH=parisc ;;
|
||||
i*86*) LTRACE_ARCH=i386 ;;
|
||||
ia64*) LTRACE_ARCH=ia64 ;;
|
||||
mips*) LTRACE_ARCH=mips ;;
|
||||
m68k*) LTRACE_ARCH=m68k ;;
|
||||
powerpc*) LTRACE_ARCH=ppc ;;
|
||||
s390*) LTRACE_ARCH=s390 ;;
|
||||
sh*) LTRACE_ARCH=sh ;;
|
||||
sparc64*) LTRACE_ARCH=sparc64 ;;
|
||||
sparc*) LTRACE_ARCH=sparc ;;
|
||||
x86_64*) LTRACE_ARCH=x86_64 ;;
|
||||
esac
|
||||
oe_runmake install ${EXTRA_OEMAKE} ARCH=${LTRACE_ARCH} DESTDIR=${D}
|
||||
}
|
||||
|
||||
SRC_URI[archive.md5sum] = "3fa7fe715ab879db08bd06d1d59fd90f"
|
||||
|
||||
@@ -10,7 +10,7 @@ DEPENDS += "readline"
|
||||
SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \
|
||||
file://bitwise_operators.patch \
|
||||
file://lua5.1.pc \
|
||||
"
|
||||
"
|
||||
S = "${WORKDIR}/lua-${PV}"
|
||||
|
||||
inherit pkgconfig binconfig
|
||||
@@ -22,30 +22,30 @@ TARGET_CC_ARCH += " -fPIC ${LDFLAGS}"
|
||||
EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'"
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
|
||||
sed -i -e s:lib/lua/5.1/:${base_libdir}/lua/5.1/:g src/luaconf.h
|
||||
sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
|
||||
sed -i -e s:lib/lua/5.1/:${base_libdir}/lua/5.1/:g src/luaconf.h
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake linux
|
||||
oe_runmake linux
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake \
|
||||
'INSTALL_TOP=${D}${prefix}' \
|
||||
'INSTALL_BIN=${D}${bindir}' \
|
||||
'INSTALL_INC=${D}${includedir}/' \
|
||||
'INSTALL_MAN=${D}${mandir}/man1' \
|
||||
'INSTALL_SHARE=${D}${datadir}/lua' \
|
||||
'INSTALL_LIB=${D}${libdir}' \
|
||||
'INSTALL_CMOD=${D}${libdir}/lua/5.1' \
|
||||
install
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
install -m 0644 ${WORKDIR}/lua5.1.pc ${D}${libdir}/pkgconfig/lua5.1.pc
|
||||
rmdir ${D}${libdir}/lua/5.1
|
||||
rmdir ${D}${libdir}/lua
|
||||
rmdir ${D}${datadir}/lua/5.1
|
||||
rmdir ${D}${datadir}/lua
|
||||
oe_runmake \
|
||||
'INSTALL_TOP=${D}${prefix}' \
|
||||
'INSTALL_BIN=${D}${bindir}' \
|
||||
'INSTALL_INC=${D}${includedir}/' \
|
||||
'INSTALL_MAN=${D}${mandir}/man1' \
|
||||
'INSTALL_SHARE=${D}${datadir}/lua' \
|
||||
'INSTALL_LIB=${D}${libdir}' \
|
||||
'INSTALL_CMOD=${D}${libdir}/lua/5.1' \
|
||||
install
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
install -m 0644 ${WORKDIR}/lua5.1.pc ${D}${libdir}/pkgconfig/lua5.1.pc
|
||||
rmdir ${D}${libdir}/lua/5.1
|
||||
rmdir ${D}${libdir}/lua
|
||||
rmdir ${D}${datadir}/lua/5.1
|
||||
rmdir ${D}${datadir}/lua
|
||||
}
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ DEPENDS += "lua5.1"
|
||||
PR = "r2"
|
||||
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
|
||||
file://disable_lj_vm_foldarith_for_spe.patch \
|
||||
"
|
||||
"
|
||||
SRC_URI[md5sum] = "97a2b87cc0490784f54b64cfb3b8f5ad"
|
||||
SRC_URI[sha256sum] = "deaed645c4a093c5fb250c30c9933c9131ee05c94b13262d58f6e0b60b338c15"
|
||||
|
||||
@@ -16,8 +16,8 @@ S = "${WORKDIR}/LuaJIT-${PV}"
|
||||
inherit pkgconfig binconfig
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile
|
||||
sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile
|
||||
sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile
|
||||
sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile
|
||||
}
|
||||
|
||||
EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} TARGET_CFLAGS="${TOOLCHAIN_OPTIONS}" TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}"'
|
||||
@@ -29,25 +29,25 @@ EXTRA_OEMAKE_append_arm = ' HOST_CC="${BUILD_CC} -m32"'
|
||||
EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"'
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
rmdir ${D}${datadir}/lua/5.1 \
|
||||
${D}${datadir}/lua \
|
||||
${D}${libdir}/lua/5.1 \
|
||||
${D}${libdir}/lua
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
rmdir ${D}${datadir}/lua/5.1 \
|
||||
${D}${datadir}/lua \
|
||||
${D}${libdir}/lua/5.1 \
|
||||
${D}${libdir}/lua
|
||||
}
|
||||
|
||||
PACKAGES += 'luajit-common'
|
||||
|
||||
FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \
|
||||
${libdir}/libluajit-5.1.so.2.0.0 \
|
||||
"
|
||||
${libdir}/libluajit-5.1.so.2.0.0 \
|
||||
"
|
||||
FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
|
||||
${libdir}/libluajit-5.1.so \
|
||||
${libdir}/pkgconfig/luajit.pc \
|
||||
"
|
||||
${libdir}/libluajit-5.1.so \
|
||||
${libdir}/pkgconfig/luajit.pc \
|
||||
"
|
||||
FILES_luajit-common = "${datadir}/${BPN}-${PV}"
|
||||
|
||||
|
||||
@@ -15,13 +15,13 @@ S = "${WORKDIR}/mercurial-${PV}"
|
||||
inherit native
|
||||
|
||||
EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}"
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}"
|
||||
|
||||
do_configure_append () {
|
||||
sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile
|
||||
sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix}
|
||||
oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d6237f3a840aef5b7880fb4e49eecfe5"
|
||||
DEPENDS = "openssl"
|
||||
|
||||
SRC_URI = " \
|
||||
http://nodejs.org/dist/node-v${PV}.tar.gz \
|
||||
file://libev-cross-cc_${PV}.patch \
|
||||
http://nodejs.org/dist/node-v${PV}.tar.gz \
|
||||
file://libev-cross-cc_${PV}.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "a6375eaa43db5356bf443e25b828ae16"
|
||||
SRC_URI[sha256sum] = "c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4"
|
||||
@@ -18,29 +18,29 @@ S = "${WORKDIR}/node-v${PV}"
|
||||
CCACHE = ""
|
||||
|
||||
do_configure () {
|
||||
sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript
|
||||
sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript
|
||||
./configure --prefix=${prefix} --without-snapshot
|
||||
sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript
|
||||
sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript
|
||||
./configure --prefix=${prefix} --without-snapshot
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
make
|
||||
make
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
oe_runmake install DESTDIR=${D}
|
||||
|
||||
# fix namespace conflicts with other nodejs recipes
|
||||
mv ${D}${bindir}/node ${D}${bindir}/node4
|
||||
mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf
|
||||
# fix namespace conflicts with other nodejs recipes
|
||||
mv ${D}${bindir}/node ${D}${bindir}/node4
|
||||
mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf
|
||||
|
||||
mv ${D}${includedir}/node ${D}${includedir}/node4
|
||||
mv ${D}${includedir}/node ${D}${includedir}/node4
|
||||
|
||||
mv ${D}${libdir}/node ${D}${libdir}/node4
|
||||
mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc
|
||||
sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc
|
||||
mv ${D}${libdir}/node ${D}${libdir}/node4
|
||||
mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc
|
||||
sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc
|
||||
|
||||
mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1
|
||||
mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/node4/wafadmin"
|
||||
|
||||
@@ -21,18 +21,18 @@ ARCHFLAGS ?= ""
|
||||
|
||||
# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
|
||||
do_configure () {
|
||||
export LD="${CXX}"
|
||||
export LD="${CXX}"
|
||||
|
||||
./configure --prefix=${prefix} --without-snapshot ${ARCHFLAGS}
|
||||
./configure --prefix=${prefix} --without-snapshot ${ARCHFLAGS}
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
export LD="${CXX}"
|
||||
make BUILDTYPE=Release
|
||||
export LD="${CXX}"
|
||||
make BUILDTYPE=Release
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
oe_runmake install DESTDIR=${D}
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient "
|
||||
|
||||
@@ -21,5 +21,5 @@ python populate_packages_prepend () {
|
||||
}
|
||||
|
||||
do_compile_prepend_virtclass-native () {
|
||||
sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c
|
||||
sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c
|
||||
}
|
||||
|
||||
@@ -26,20 +26,20 @@ EXTRA_OECONF = "--with-security-framework=dummy \
|
||||
--disable-local \
|
||||
--disable-networkmanager \
|
||||
ac_cv_path_XMLTO=no \
|
||||
"
|
||||
"
|
||||
|
||||
#do_configure_prepend() {
|
||||
# mkdir -p m4
|
||||
# echo "EXTRA_DIST=" > gtk-doc.make
|
||||
# mkdir -p m4
|
||||
# echo "EXTRA_DIST=" > gtk-doc.make
|
||||
#}
|
||||
|
||||
do_configure_append() {
|
||||
for i in $(find . -name Makefile) ; do
|
||||
sed -i -e s:${STAGING_DIR_NATIVE}::g \
|
||||
for i in $(find . -name Makefile) ; do
|
||||
sed -i -e s:${STAGING_DIR_NATIVE}::g \
|
||||
-e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
|
||||
-e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
|
||||
$i
|
||||
done
|
||||
$i
|
||||
done
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-website"
|
||||
|
||||
@@ -30,15 +30,15 @@ EXTRA_OECONF = "--enable-mbstring --enable-discard-path --enable-wddx \
|
||||
--disable-embedded-mysqli \
|
||||
--with-mysql="${STAGING_DIR_TARGET}${prefix}" \
|
||||
--with-mysqli="${STAGING_BINDIR_CROSS}/mysql_config" \
|
||||
--with-sqlite3=${STAGING_LIBDIR}/.. --enable-sqlite-utf8 \
|
||||
--with-sqlite3=${STAGING_LIBDIR}/.. --enable-sqlite-utf8 \
|
||||
--with-pdo-mysql="${STAGING_BINDIR_CROSS}/mysql_config" \
|
||||
--with-pdo-sqlite=${STAGING_LIBDIR}/.. ${COMMON_EXTRA_OECONF} \
|
||||
"
|
||||
"
|
||||
EXTRA_OECONF_virtclass-native = "--with-cgi --without-libpng --without-libjpeg \
|
||||
--with-zlib --with-zlib-dir=${STAGING_LIBDIR_NATIVE}/.. \
|
||||
--with-libxml-dir=${STAGING_BINDIR_NATIVE} \
|
||||
${COMMON_EXTRA_OECONF} \
|
||||
"
|
||||
"
|
||||
|
||||
LIBS_virtclass-native = " -lxml2 "
|
||||
LIBS_pn-php =" -lpthread "
|
||||
@@ -82,8 +82,8 @@ do_install_append_pn-php() {
|
||||
install -m 0755 ${S}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm
|
||||
TMP=`dirname ${D}/${TMPDIR}`
|
||||
while test ${TMP} != ${D}; do
|
||||
rmdir ${TMP}
|
||||
TMP=`dirname ${TMP}`;
|
||||
rmdir ${TMP}
|
||||
TMP=`dirname ${TMP}`;
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ index fc93d1d..9a8cd65 100755
|
||||
+++ b/ext/phar/Makefile.frag
|
||||
@@ -6,19 +6,8 @@ pharcmd: $(builddir)/phar.php $(builddir)/phar.phar
|
||||
|
||||
PHP_PHARCMD_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0'
|
||||
PHP_PHARCMD_EXECUTABLE = ` \
|
||||
PHP_PHARCMD_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0'
|
||||
PHP_PHARCMD_EXECUTABLE = ` \
|
||||
- if test -x "$(top_builddir)/$(SAPI_CLI_PATH)"; then \
|
||||
- $(top_srcdir)/build/shtool echo -n -- "$(top_builddir)/$(SAPI_CLI_PATH) -n"; \
|
||||
- if test "x$(PHP_MODULES)" != "x"; then \
|
||||
@@ -21,6 +21,6 @@ index fc93d1d..9a8cd65 100755
|
||||
- fi;`
|
||||
+ $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; `
|
||||
+
|
||||
PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";`
|
||||
PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";`
|
||||
|
||||
$(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc
|
||||
$(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc
|
||||
|
||||
@@ -16,7 +16,7 @@ SRC_URI_append_pn-php += "file://iconv.patch \
|
||||
file://fix-fpm-cross-compile.patch \
|
||||
file://php-fpm.conf \
|
||||
file://php-fpm-apache.conf \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "e1d2a3ec7849d4b3032bd1abf1916aa4"
|
||||
SRC_URI[sha256sum] = "814ce55b950158c4ddadbcd0b2d7d8cb4b570de4a29b9db021020594e2469fd6"
|
||||
|
||||
@@ -15,8 +15,8 @@ PACKAGES =+ "${PN}-zoneinfo"
|
||||
FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-core \
|
||||
python-datetime \
|
||||
python-core \
|
||||
python-datetime \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "2a5f25ab12fcefcf0b21348f2d47595a"
|
||||
|
||||
@@ -16,4 +16,4 @@ inherit setuptools
|
||||
RDEPENDS_${PN} = "python-threading \
|
||||
python-netclient \
|
||||
python-html \
|
||||
"
|
||||
"
|
||||
|
||||
@@ -10,7 +10,7 @@ RDEPENDS_${PN} = "python-core python-distutils python-numpy freetype libpng"
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/matplotlib/matplotlib-${PV}.tar.gz \
|
||||
file://fix_setup.patch \
|
||||
file://fix_setupext.patch \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/matplotlib-${PV}"
|
||||
|
||||
@@ -19,9 +19,9 @@ EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../"
|
||||
inherit distutils
|
||||
|
||||
do_compile_prepend() {
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
|
||||
${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
|
||||
true
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
|
||||
${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
|
||||
true
|
||||
}
|
||||
|
||||
# need to export these variables for python-config to work
|
||||
|
||||
@@ -9,18 +9,18 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
|
||||
CONFIGFILESURI ?= ""
|
||||
|
||||
CONFIGFILESURI_aarch64 = "file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_arm = "file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_mipsel = "file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
|
||||
CONFIGFILESURI_i586 = "file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/numpy-${PV}"
|
||||
|
||||
@@ -29,10 +29,10 @@ inherit distutils
|
||||
# Make the build fail and replace *config.h with proper one
|
||||
# This is a ugly, ugly hack - Koen
|
||||
do_compile_prepend() {
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
|
||||
${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
|
||||
true
|
||||
cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
|
||||
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
|
||||
${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
|
||||
true
|
||||
cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
|
||||
}
|
||||
|
||||
FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a"
|
||||
@@ -59,4 +59,4 @@ RDEPENDS_${PN} = "python-unittest \
|
||||
python-email \
|
||||
python-subprocess \
|
||||
python-compression \
|
||||
"
|
||||
"
|
||||
|
||||
@@ -11,11 +11,11 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
inherit distutils
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-core \
|
||||
python-io \
|
||||
python-terminal \
|
||||
python-resource \
|
||||
python-fcntl \
|
||||
python-core \
|
||||
python-io \
|
||||
python-terminal \
|
||||
python-resource \
|
||||
python-fcntl \
|
||||
"
|
||||
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ AUTHOR = "Phil Thomson @ riverbank.co.uk"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "GPLv2 & GPLv3 & GPL_EXCEPTION"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \
|
||||
file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \
|
||||
file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \
|
||||
file://LICENSE.GPL2;md5=276c6b9cad5f85a3af3534299825feff \
|
||||
file://LICENSE.GPL3;md5=eda942b9c6ba7eb0f40fee79e94950d5 \
|
||||
file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \
|
||||
file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \
|
||||
file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \
|
||||
file://LICENSE.GPL2;md5=276c6b9cad5f85a3af3534299825feff \
|
||||
file://LICENSE.GPL3;md5=eda942b9c6ba7eb0f40fee79e94950d5 \
|
||||
"
|
||||
|
||||
DEPENDS = "sip-native python-sip"
|
||||
@@ -18,8 +18,8 @@ PYQT_OE_VERSION = "Qt_4_8_3"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "\
|
||||
${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \
|
||||
file://pyqt-generated.patch;apply=no \
|
||||
${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \
|
||||
file://pyqt-generated.patch;apply=no \
|
||||
"
|
||||
SRC_URI[md5sum] = "514e1f9597771dc732ba75ba9fa5c6b6"
|
||||
SRC_URI[sha256sum] = "a350f9e5c6d8062671c0f29bf1a70824719b18175ce8372c29bf7c1eda44b18d"
|
||||
@@ -27,11 +27,11 @@ S = "${WORKDIR}/PyQt-x11-gpl-${PV}"
|
||||
|
||||
# arm and mips machines need some extra patches
|
||||
SRC_URI_append_arm = "\
|
||||
file://qreal_float_support.diff \
|
||||
file://qreal_float_support.diff \
|
||||
"
|
||||
|
||||
SRC_URI_append_mipsel = "\
|
||||
file://qreal_float_support.diff \
|
||||
file://qreal_float_support.diff \
|
||||
"
|
||||
|
||||
inherit qt4x11 sip distutils-base
|
||||
@@ -51,16 +51,16 @@ SIP_MODULES = "QtCore QtDeclarative QtGui QtNetwork QtSql QtSvg QtXml QtWebKit"
|
||||
MAKE_MODULES = "qpy ${SIP_MODULES}"
|
||||
|
||||
EXTRA_QMAKEVARS_POST += "\
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/Qt \
|
||||
INCLUDEPATH+=${STAGING_INCDIR}/${PYTHON_DIR} \
|
||||
INCLUDEPATH+=../qpy/QtCore \
|
||||
INCLUDEPATH+=../qpy/QtGui \
|
||||
INCLUDEPATH+=../qpy/QtDeclarative \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtCore \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtGui \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtDeclarative \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtWebKit \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtNetwork \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/Qt \
|
||||
INCLUDEPATH+=${STAGING_INCDIR}/${PYTHON_DIR} \
|
||||
INCLUDEPATH+=../qpy/QtCore \
|
||||
INCLUDEPATH+=../qpy/QtGui \
|
||||
INCLUDEPATH+=../qpy/QtDeclarative \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtCore \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtGui \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtDeclarative \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtWebKit \
|
||||
INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtNetwork \
|
||||
"
|
||||
FIX_QREAL = "\
|
||||
"
|
||||
|
||||
@@ -13,9 +13,9 @@ inherit setuptools
|
||||
# FIXME might stop packaging serialwin32 and serialjava files
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-fcntl \
|
||||
python-io \
|
||||
python-stringold \
|
||||
python-fcntl \
|
||||
python-io \
|
||||
python-stringold \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "eec19df59fd75ba5a136992897f8e468"
|
||||
|
||||
@@ -19,7 +19,7 @@ do_configure_prepend() {
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-ctypes \
|
||||
python-subprocess \
|
||||
python-misc \
|
||||
python-ctypes \
|
||||
python-subprocess \
|
||||
python-misc \
|
||||
"
|
||||
|
||||
@@ -7,7 +7,7 @@ DEPENDS = "libusb1"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "\
|
||||
${SOURCEFORGE_MIRROR}/pyusb/${SRCNAME}-${PV}.tar.gz \
|
||||
${SOURCEFORGE_MIRROR}/pyusb/${SRCNAME}-${PV}.tar.gz \
|
||||
"
|
||||
SRC_URI[md5sum] = "9136b3dc019272c62a5b6d4eb624f89f"
|
||||
SRC_URI[sha256sum] = "dacbf7d568c0bb09a974d56da66d165351f1ba3c4d5169ab5b734266623e1736"
|
||||
|
||||
@@ -7,7 +7,7 @@ DEPENDS = "libyaml python-cython-native"
|
||||
|
||||
SRC_URI = "http://pyyaml.org/download/pyyaml/PyYAML-${PV}.tar.gz \
|
||||
file://setup.py \
|
||||
"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "74c94a383886519e9e7b3dd1ee540247"
|
||||
SRC_URI[sha256sum] = "e713da45c96ca53a3a8b48140d4120374db622df16ab71759c9ceb5b8d46fe7c"
|
||||
@@ -17,6 +17,6 @@ S = "${WORKDIR}/PyYAML-${PV}"
|
||||
inherit distutils
|
||||
|
||||
do_configure_prepend() {
|
||||
# upstream setup.py overcomplicated, use ours
|
||||
install -m 0644 ${WORKDIR}/setup.py ${S}
|
||||
# upstream setup.py overcomplicated, use ours
|
||||
install -m 0644 ${WORKDIR}/setup.py ${S}
|
||||
}
|
||||
|
||||
@@ -17,11 +17,11 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
inherit distutils
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
python-core \
|
||||
python-re \
|
||||
python-io \
|
||||
python-netserver \
|
||||
python-numbers \
|
||||
python-core \
|
||||
python-re \
|
||||
python-io \
|
||||
python-netserver \
|
||||
python-numbers \
|
||||
"
|
||||
|
||||
|
||||
|
||||
@@ -29,17 +29,17 @@ EXTRA_QMAKEVARS_POST += " TEMPLATE=lib \
|
||||
|
||||
|
||||
do_configure_prepend() {
|
||||
cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.pro
|
||||
cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c
|
||||
cat sip.h.in | sed -e s,@CFG_MODULE_NAME@,sip,g > sip.h
|
||||
cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.pro
|
||||
cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c
|
||||
cat sip.h.in | sed -e s,@CFG_MODULE_NAME@,sip,g > sip.h
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/
|
||||
install -m 0755 libsip.so.1.0.0 ${D}${libdir}/${PYTHON_DIR}/site-packages/sip.so
|
||||
# sipconfig.py sipdistutils.py
|
||||
install -d ${D}${includedir}
|
||||
install -m 0644 ../siplib/sip.h ${D}${includedir}/sip.h
|
||||
install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/
|
||||
install -m 0755 libsip.so.1.0.0 ${D}${libdir}/${PYTHON_DIR}/site-packages/sip.so
|
||||
# sipconfig.py sipdistutils.py
|
||||
install -d ${D}${includedir}
|
||||
install -m 0644 ../siplib/sip.h ${D}${includedir}/sip.h
|
||||
}
|
||||
|
||||
FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages/sip.so"
|
||||
|
||||
@@ -3,7 +3,7 @@ LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
|
||||
|
||||
SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
|
||||
"
|
||||
"
|
||||
SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
|
||||
SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
|
||||
|
||||
@@ -14,7 +14,7 @@ inherit distutils
|
||||
S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/"
|
||||
|
||||
do_configure_prepend() {
|
||||
# Adjust for OE header rename
|
||||
sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk
|
||||
sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c
|
||||
# Adjust for OE header rename
|
||||
sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk
|
||||
sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ PV = "2.2.1+git${SRCPV}"
|
||||
SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505"
|
||||
SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \
|
||||
file://0001-disable-AI_ADDRCONFIG-flag.patch \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -23,68 +23,68 @@ do_install_append() {
|
||||
}
|
||||
|
||||
PACKAGES += "\
|
||||
${PN}-zsh \
|
||||
${PN}-test \
|
||||
${PN}-protocols \
|
||||
${PN}-bin \
|
||||
${PN}-conch \
|
||||
${PN}-lore \
|
||||
${PN}-mail \
|
||||
${PN}-names \
|
||||
${PN}-news \
|
||||
${PN}-runner \
|
||||
${PN}-web \
|
||||
${PN}-words \
|
||||
${PN}-flow \
|
||||
${PN}-pair \
|
||||
${PN}-core \
|
||||
${PN}-zsh \
|
||||
${PN}-test \
|
||||
${PN}-protocols \
|
||||
${PN}-bin \
|
||||
${PN}-conch \
|
||||
${PN}-lore \
|
||||
${PN}-mail \
|
||||
${PN}-names \
|
||||
${PN}-news \
|
||||
${PN}-runner \
|
||||
${PN}-web \
|
||||
${PN}-words \
|
||||
${PN}-flow \
|
||||
${PN}-pair \
|
||||
${PN}-core \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} = "python-core python-zopeinterface"
|
||||
RDEPENDS_${PN} += "\
|
||||
${PN}-bin \
|
||||
${PN}-conch \
|
||||
${PN}-lore \
|
||||
${PN}-mail \
|
||||
${PN}-names \
|
||||
${PN}-news \
|
||||
${PN}-runner \
|
||||
${PN}-web \
|
||||
${PN}-words \
|
||||
${PN}-bin \
|
||||
${PN}-conch \
|
||||
${PN}-lore \
|
||||
${PN}-mail \
|
||||
${PN}-names \
|
||||
${PN}-news \
|
||||
${PN}-runner \
|
||||
${PN}-web \
|
||||
${PN}-words \
|
||||
"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
FILES_${PN} = ""
|
||||
|
||||
FILES_${PN}-test = " \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/test \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/test \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \
|
||||
"
|
||||
|
||||
FILES_${PN}-protocols = " \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/*.py* \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/gps/ \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/mice/ \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/*.py* \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/gps/ \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/mice/ \
|
||||
"
|
||||
|
||||
FILES_${PN}-zsh = " \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zsh \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/zshcomp.* \
|
||||
"
|
||||
|
||||
FILES_${PN}-bin = " \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/_c_urlarg.so \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/spread/cBanana.so \
|
||||
"
|
||||
|
||||
FILES_${PN}-conch = " \
|
||||
${bindir}/ckeygen \
|
||||
${bindir}/tkconch \
|
||||
${bindir}/conch \
|
||||
${bindir}/conchftp \
|
||||
${bindir}/cftp \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \
|
||||
${bindir}/ckeygen \
|
||||
${bindir}/tkconch \
|
||||
${bindir}/conch \
|
||||
${bindir}/conchftp \
|
||||
${bindir}/cftp \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/twisted_conch.py* \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/conch \
|
||||
"
|
||||
|
||||
FILES_${PN}-core = " \
|
||||
|
||||
@@ -15,38 +15,38 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
|
||||
inherit autotools pythonnative
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--with-python=${PYTHON} \
|
||||
--without-allegrocl \
|
||||
--without-android \
|
||||
--without-boost \
|
||||
--without-chicken \
|
||||
--without-clisp \
|
||||
--without-csharp \
|
||||
--without-d \
|
||||
--without-gcj \
|
||||
--without-go \
|
||||
--without-guile \
|
||||
--without-java \
|
||||
--without-lua \
|
||||
--without-mzscheme \
|
||||
--without-ocaml \
|
||||
--without-octave \
|
||||
--without-perl5 \
|
||||
--without-pike \
|
||||
--without-php \
|
||||
--without-python3 \
|
||||
--without-r \
|
||||
--without-ruby \
|
||||
--without-tcl \
|
||||
--with-python=${PYTHON} \
|
||||
--without-allegrocl \
|
||||
--without-android \
|
||||
--without-boost \
|
||||
--without-chicken \
|
||||
--without-clisp \
|
||||
--without-csharp \
|
||||
--without-d \
|
||||
--without-gcj \
|
||||
--without-go \
|
||||
--without-guile \
|
||||
--without-java \
|
||||
--without-lua \
|
||||
--without-mzscheme \
|
||||
--without-ocaml \
|
||||
--without-octave \
|
||||
--without-perl5 \
|
||||
--without-pike \
|
||||
--without-php \
|
||||
--without-python3 \
|
||||
--without-r \
|
||||
--without-ruby \
|
||||
--without-tcl \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
do_configure() {
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/Tools/config
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
|
||||
oe_runconf
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/Tools/config
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
|
||||
@@ -6,14 +6,14 @@ LIC_FILES_CHKSUM = "file://license.terms;md5=24954e7e6b54c1b4e16de861b9d392fc"
|
||||
DEPENDS = "tcl virtual/libx11 libxt"
|
||||
|
||||
SRC_URI = "\
|
||||
${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
|
||||
file://confsearch.diff;striplevel=2 \
|
||||
file://manpages.diff;striplevel=2 \
|
||||
file://non-linux.diff;striplevel=2 \
|
||||
file://rpath.diff;striplevel=2 \
|
||||
file://tklibrary.diff;striplevel=2 \
|
||||
file://tkprivate.diff;striplevel=2 \
|
||||
file://fix-xft.diff \
|
||||
${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
|
||||
file://confsearch.diff;striplevel=2 \
|
||||
file://manpages.diff;striplevel=2 \
|
||||
file://non-linux.diff;striplevel=2 \
|
||||
file://rpath.diff;striplevel=2 \
|
||||
file://tklibrary.diff;striplevel=2 \
|
||||
file://tkprivate.diff;striplevel=2 \
|
||||
file://fix-xft.diff \
|
||||
"
|
||||
SRC_URI[md5sum] = "13bf90602e16fc530e05196431021dc6"
|
||||
SRC_URI[sha256sum] = "9737da5c30e631281062b6acbb4753840f9e95657c78e37657d9c520589ab2d4"
|
||||
@@ -23,16 +23,16 @@ S = "${WORKDIR}/tk${PV}/unix"
|
||||
inherit autotools
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--enable-threads \
|
||||
--with-tcl=${STAGING_BINDIR_CROSS} \
|
||||
--x-includes=${STAGING_INCDIR} \
|
||||
--x-libraries=${STAGING_LIBDIR} \
|
||||
--enable-threads \
|
||||
--with-tcl=${STAGING_BINDIR_CROSS} \
|
||||
--x-includes=${STAGING_INCDIR} \
|
||||
--x-libraries=${STAGING_LIBDIR} \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
mv libtk8.5.so libtk8.5.so.0
|
||||
oe_libinstall -so libtk8.5 ${D}${libdir}
|
||||
ln -sf wish8.5 ${D}${bindir}/wish
|
||||
mv libtk8.5.so libtk8.5.so.0
|
||||
oe_libinstall -so libtk8.5 ${D}${libdir}
|
||||
ln -sf wish8.5 ${D}${bindir}/wish
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-lib"
|
||||
|
||||
@@ -13,7 +13,7 @@ SRC_URI = "git://atftp.git.sourceforge.net/gitroot/atftp/atftp;protocol=git \
|
||||
file://atftpd-0.7_unprotected_assignments_crash.patch \
|
||||
file://atftpd.init \
|
||||
file://atftpd.service \
|
||||
"
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools update-rc.d useradd systemd
|
||||
@@ -43,9 +43,9 @@ PACKAGES =+ "atftpd"
|
||||
FILES_${PN} = "${bindir}/*"
|
||||
|
||||
FILES_${PN}d = "${sbindir}/* \
|
||||
${sysconfdir}/init.d/* \
|
||||
/srv/tftp \
|
||||
${systemd_unitdir}/system/atftpd.service \
|
||||
${sysconfdir}/init.d/* \
|
||||
/srv/tftp \
|
||||
${systemd_unitdir}/system/atftpd.service \
|
||||
"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}d"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
SUMMARY = "Data recovery tool"
|
||||
DESCRIPTION = "GNU ddrescue is a data recovery tool. It copies data \
|
||||
from one file or block device (hard disc, cdrom, etc) to another, \
|
||||
trying hard to rescue data in case of read errors."
|
||||
from one file or block device (hard disc, cdrom, etc) to another, \
|
||||
trying hard to rescue data in case of read errors."
|
||||
HOMEPAGE = "http://www.gnu.org/software/ddrescue/ddrescue.html"
|
||||
SECTION = "console"
|
||||
LICENSE = "GPLv3+"
|
||||
|
||||
@@ -10,11 +10,11 @@ SRC_URI = "http://savannah.nongnu.org/download/dmidecode/${P}.tar.bz2"
|
||||
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR="${D}" install
|
||||
oe_runmake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
SRC_URI[md5sum] = "3c9c4d55a40b78600f3b43bfa64616f9"
|
||||
|
||||
@@ -3,11 +3,11 @@ require gnuplot.inc
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/gnuplot/${PN}-${PV}.tar.gz;name=archive \
|
||||
http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \
|
||||
file://subdirs.patch \
|
||||
file://gnuplot.desktop \
|
||||
file://gnuplot.png \
|
||||
file://automake-1.12.x.patch \
|
||||
http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \
|
||||
file://subdirs.patch \
|
||||
file://gnuplot.desktop \
|
||||
file://gnuplot.png \
|
||||
file://automake-1.12.x.patch \
|
||||
"
|
||||
|
||||
SRC_URI[archive.md5sum] = "97a43328e81e57ebed7f135ca0c07e82"
|
||||
|
||||
@@ -8,7 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
|
||||
file://setup-add-sleep-after-cups-reset.patch \
|
||||
file://fix-libusb-paths.patch \
|
||||
file://cups-1.6.patch \
|
||||
"
|
||||
"
|
||||
|
||||
DEPENDS += "cups python libusb"
|
||||
|
||||
@@ -34,7 +34,7 @@ EXTRA_OECONF += "\
|
||||
--disable-foomatic-drv-install \
|
||||
--enable-foomatic-ppd-install \
|
||||
--enable-foomatic-rip-hplip-install \
|
||||
"
|
||||
"
|
||||
|
||||
PACKAGES += "${PN}-ppd ${PN}-cups ${PN}-backend ${PN}-filter ${PN}-hal"
|
||||
|
||||
@@ -49,7 +49,7 @@ RDEPENDS_${PN} += " \
|
||||
python-resource \
|
||||
python-terminal \
|
||||
python-subprocess\
|
||||
"
|
||||
"
|
||||
|
||||
# need to snag the debug file or OE will fail on backend package
|
||||
FILES_${PN}-dbg += "\
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
SUMMARY = "Simple top-like I/O monitor"
|
||||
DESCRIPTION = "iotop does for I/O usage what top(1) does for CPU usage. \
|
||||
It watches I/O usage information output by the Linux kernel and displays \
|
||||
a table of current I/O usage by processes on the system."
|
||||
It watches I/O usage information output by the Linux kernel and displays \
|
||||
a table of current I/O usage by processes on the system."
|
||||
HOMEPAGE = "http://guichaz.free.fr/iotop/"
|
||||
|
||||
PR = "r1"
|
||||
@@ -16,8 +16,8 @@ SRC_URI[sha256sum] = "46f3279fb1a7dfc129b5d00950c6e8389e4aedeb58880e848b88d68648
|
||||
inherit distutils
|
||||
|
||||
do_install_append() {
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.pyo || true
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.pyo || true
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "python-distutils python-curses python-textutils \
|
||||
|
||||
@@ -19,29 +19,29 @@ LCD_DEFAULT_DRIVER ?= "curses"
|
||||
EXTRA_OECONF = "--enable-drivers=${LCD_DRIVERS} --enable-libusb"
|
||||
|
||||
do_install () {
|
||||
# binaries
|
||||
install -D -m 0755 server/LCDd ${D}${sbindir}/LCDd
|
||||
install -D -m 0755 clients/lcdproc/lcdproc ${D}${bindir}/lcdproc
|
||||
# binaries
|
||||
install -D -m 0755 server/LCDd ${D}${sbindir}/LCDd
|
||||
install -D -m 0755 clients/lcdproc/lcdproc ${D}${bindir}/lcdproc
|
||||
|
||||
# init scripts
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
# so far, not fixed :-( and now even uglier :-((
|
||||
cat scripts/init-LCDd.debian | sed -e s'/--oknodo//' -e 's/ -s -f / -s 1 -f 1 /' -e 's/force-reload/force-restart/' -e 's/sleep 1/sleep 4/' > ${D}${sysconfdir}/init.d/lcdd
|
||||
chmod 0755 ${D}${sysconfdir}/init.d/lcdd
|
||||
install -m 0755 scripts/init-lcdproc.debian ${D}${sysconfdir}/init.d/lcdproc
|
||||
sed -i s'/--oknodo//' ${D}${sysconfdir}/init.d/lcdproc
|
||||
# init scripts
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
# so far, not fixed :-( and now even uglier :-((
|
||||
cat scripts/init-LCDd.debian | sed -e s'/--oknodo//' -e 's/ -s -f / -s 1 -f 1 /' -e 's/force-reload/force-restart/' -e 's/sleep 1/sleep 4/' > ${D}${sysconfdir}/init.d/lcdd
|
||||
chmod 0755 ${D}${sysconfdir}/init.d/lcdd
|
||||
install -m 0755 scripts/init-lcdproc.debian ${D}${sysconfdir}/init.d/lcdproc
|
||||
sed -i s'/--oknodo//' ${D}${sysconfdir}/init.d/lcdproc
|
||||
|
||||
# configuration files
|
||||
install -m 0644 LCDd.conf ${D}${sysconfdir}/LCDd.conf
|
||||
sed -i 's!^DriverPath=.*!DriverPath=${libdir}/lcdproc/!' ${D}${sysconfdir}/LCDd.conf
|
||||
sed -i 's!^Driver=.*!Driver=${LCD_DEFAULT_DRIVER}!' ${D}${sysconfdir}/LCDd.conf
|
||||
install -m 0644 clients/lcdproc/lcdproc.conf ${D}${sysconfdir}/lcdproc.conf
|
||||
# configuration files
|
||||
install -m 0644 LCDd.conf ${D}${sysconfdir}/LCDd.conf
|
||||
sed -i 's!^DriverPath=.*!DriverPath=${libdir}/lcdproc/!' ${D}${sysconfdir}/LCDd.conf
|
||||
sed -i 's!^Driver=.*!Driver=${LCD_DEFAULT_DRIVER}!' ${D}${sysconfdir}/LCDd.conf
|
||||
install -m 0644 clients/lcdproc/lcdproc.conf ${D}${sysconfdir}/lcdproc.conf
|
||||
|
||||
# driver library files
|
||||
install -d ${D}${libdir}/lcdproc
|
||||
for i in server/drivers/*.so; do
|
||||
install -m 0644 $i ${D}${libdir}/lcdproc/
|
||||
done
|
||||
# driver library files
|
||||
install -d ${D}${libdir}/lcdproc
|
||||
for i in server/drivers/*.so; do
|
||||
install -m 0644 $i ${D}${libdir}/lcdproc/
|
||||
done
|
||||
}
|
||||
|
||||
PACKAGES =+ "lcdd"
|
||||
@@ -49,8 +49,8 @@ PACKAGES =+ "lcdd"
|
||||
RRECOMMENDS_${PN} = "lcdd"
|
||||
|
||||
FILES_lcdd = "${sysconfdir}/LCDd.conf \
|
||||
${sbindir}/LCDd \
|
||||
${sysconfdir}/init.d/lcdd"
|
||||
${sbindir}/LCDd \
|
||||
${sysconfdir}/init.d/lcdd"
|
||||
|
||||
CONFFILES_lcdd = "${sysconfdir}/LCDd.conf"
|
||||
CONFFILES_${PN} = "${sysconfdir}/lcdproc.conf"
|
||||
|
||||
@@ -11,11 +11,11 @@ PACKAGECONFIG[g15] = ",,libg15 g15daemon libg15render,"
|
||||
LCD_DRIVERS_append = "${@base_contains('PACKAGECONFIG', 'g15', '', ',!g15', d)}"
|
||||
|
||||
do_install_append () {
|
||||
# binaries
|
||||
install -D -m 0755 clients/lcdvc/lcdvc ${D}${sbindir}/lcdvc
|
||||
# binaries
|
||||
install -D -m 0755 clients/lcdvc/lcdvc ${D}${sbindir}/lcdvc
|
||||
|
||||
# configuration files
|
||||
install -D -m 0644 clients/lcdvc/lcdvc.conf ${D}${sysconfdir}/lcdvc.conf
|
||||
# configuration files
|
||||
install -D -m 0644 clients/lcdvc/lcdvc.conf ${D}${sysconfdir}/lcdvc.conf
|
||||
}
|
||||
|
||||
PACKAGES =+ "lcdvc"
|
||||
|
||||
@@ -4,10 +4,10 @@ LICENSE = "LGPLv2+ & GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=ac284a60d48eaa4bc811cddc377fa341"
|
||||
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.09.orig.tar.gz \
|
||||
file://install.patch \
|
||||
file://configure.patch \
|
||||
file://ldflags.patch \
|
||||
"
|
||||
file://install.patch \
|
||||
file://configure.patch \
|
||||
file://ldflags.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "2aa269e4405ee8235ff17d1b357c6ae8"
|
||||
SRC_URI[sha256sum] = "16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a0695f1b7f"
|
||||
@@ -17,6 +17,6 @@ inherit autotools
|
||||
EXTRA_OECONF = "--enable-shared --enable-static"
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'ROOT=${D}' INSTGRP='' install
|
||||
oe_runmake 'ROOT=${D}' INSTGRP='' install
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ BBCLASSEXTEND = "native"
|
||||
inherit autotools
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/${BPN}/${PV}/${BPN}-${PV}.tar.gz;name=tarball \
|
||||
file://libwmf-0.2.8.4-intoverflow.patch \
|
||||
file://libwmf-0.2.8.4-intoverflow.patch \
|
||||
file://libwmf-0.2.8.4-useafterfree.patch"
|
||||
SRC_URI[tarball.md5sum] = "d1177739bf1ceb07f57421f0cee191e0"
|
||||
SRC_URI[tarball.sha256sum] = "5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8"
|
||||
|
||||
@@ -9,7 +9,7 @@ PR = "r3"
|
||||
SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \
|
||||
file://mathview-gcc43x.diff \
|
||||
file://mathview-gcc47x.diff \
|
||||
"
|
||||
"
|
||||
SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299"
|
||||
SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43"
|
||||
|
||||
@@ -18,5 +18,5 @@ inherit autotools
|
||||
EXTRA_OECONF = "--disable-binreloc"
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e s:AM_BINRELOC::g ${S}/configure.ac
|
||||
sed -i -e s:AM_BINRELOC::g ${S}/configure.ac
|
||||
}
|
||||
|
||||
@@ -19,26 +19,26 @@ EXTRA_OECONF = "--enable-shared --disable-manuals --with-defaults \
|
||||
${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install
|
||||
oe_runmake install
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${sysconfdir}/snmp
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/snmpd
|
||||
install -m 644 ${WORKDIR}/snmpd.conf ${D}${sysconfdir}/snmp/
|
||||
install -m 644 ${WORKDIR}/snmptrapd.conf ${D}${sysconfdir}/snmp/
|
||||
install -d ${STAGING_BINDIR}
|
||||
install -m 0755 ${D}${bindir}/net-snmp-config ${STAGING_BINDIR}/
|
||||
sed -e "s@-I/usr/include@@g" \
|
||||
-e "s@^prefix=.*@prefix=${STAGING_DIR_HOST}@g" \
|
||||
-e "s@^exec_prefix=.*@exec_prefix=${STAGING_DIR_HOST}@g" \
|
||||
-e "s@^includedir=.*@includedir=${STAGING_INCDIR}@g" \
|
||||
-e "s@^libdir=.*@libdir=${STAGING_LIBDIR}@g" \
|
||||
-i ${STAGING_BINDIR}/net-snmp-config
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system
|
||||
install -d ${D}${sysconfdir}/snmp
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/snmpd
|
||||
install -m 644 ${WORKDIR}/snmpd.conf ${D}${sysconfdir}/snmp/
|
||||
install -m 644 ${WORKDIR}/snmptrapd.conf ${D}${sysconfdir}/snmp/
|
||||
install -d ${STAGING_BINDIR}
|
||||
install -m 0755 ${D}${bindir}/net-snmp-config ${STAGING_BINDIR}/
|
||||
sed -e "s@-I/usr/include@@g" \
|
||||
-e "s@^prefix=.*@prefix=${STAGING_DIR_HOST}@g" \
|
||||
-e "s@^exec_prefix=.*@exec_prefix=${STAGING_DIR_HOST}@g" \
|
||||
-e "s@^includedir=.*@includedir=${STAGING_INCDIR}@g" \
|
||||
-e "s@^libdir=.*@libdir=${STAGING_LIBDIR}@g" \
|
||||
-i ${STAGING_BINDIR}/net-snmp-config
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-static ${PN}-libs \
|
||||
@@ -48,13 +48,13 @@ ALLOW_EMPTY_${PN}-server = "1"
|
||||
FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
|
||||
FILES_${PN}-mibs = "${datadir}/snmp/mibs"
|
||||
FILES_${PN}-server-snmpd = "${sbindir}/snmpd \
|
||||
${sysconfdir}/snmp/snmpd.conf \
|
||||
${sysconfdir}/init.d \
|
||||
${systemd_unitdir}/system/snmpd.service \
|
||||
${sysconfdir}/snmp/snmpd.conf \
|
||||
${sysconfdir}/init.d \
|
||||
${systemd_unitdir}/system/snmpd.service \
|
||||
"
|
||||
FILES_${PN}-server-snmptrapd = "${sbindir}/snmptrapd \
|
||||
${sysconfdir}/snmp/snmptrapd.conf \
|
||||
${systemd_unitdir}/system/snmptrapd.service \
|
||||
${sysconfdir}/snmp/snmptrapd.conf \
|
||||
${systemd_unitdir}/system/snmptrapd.service \
|
||||
"
|
||||
FILES_${PN}-client = "${bindir}/* ${datadir}/snmp/"
|
||||
FILES_${PN}-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/"
|
||||
@@ -86,10 +86,10 @@ RCONFLICTS_${PN}-server-snmptrapd += "${PN}-server-snmptrapd-systemd"
|
||||
LEAD_SONAME = "libnetsnmp.so"
|
||||
|
||||
pkg_postrm_${PN}-server() {
|
||||
if test "x$D" != "x"; then
|
||||
OPT="-r $D "
|
||||
else
|
||||
OPT=""
|
||||
/etc/init.d/snmpd stop
|
||||
fi
|
||||
if test "x$D" != "x"; then
|
||||
OPT="-r $D "
|
||||
else
|
||||
OPT=""
|
||||
/etc/init.d/snmpd stop
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ EXTRA_OECONF += "--disable-embedded-perl --with-perl-modules=no"
|
||||
EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
|
||||
|
||||
do_configure_prepend() {
|
||||
gnu-configize -f
|
||||
# We better change sources and re-autoconf here, but
|
||||
# required autoconf is too new for us.
|
||||
sed -e '/echo.*\".*\\\\.*\"/s/echo/echo -e/g' \
|
||||
-e 's/tail -1/tail -n 1/g' \
|
||||
-i configure
|
||||
gnu-configize -f
|
||||
# We better change sources and re-autoconf here, but
|
||||
# required autoconf is too new for us.
|
||||
sed -e '/echo.*\".*\\\\.*\"/s/echo/echo -e/g' \
|
||||
-e 's/tail -1/tail -n 1/g' \
|
||||
-i configure
|
||||
}
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
@@ -7,7 +7,7 @@ SRC_URI = "http://www.nazgul.ch/dev/${PN}-${PV}.tar.gz \
|
||||
file://nhttpd.conf \
|
||||
file://volatiles \
|
||||
file://nostromo \
|
||||
"
|
||||
"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
|
||||
@@ -29,13 +29,13 @@ EXTRA_OECONF = " \
|
||||
--disable-owphp \
|
||||
--disable-owpython \
|
||||
--disable-owperl \
|
||||
"
|
||||
"
|
||||
|
||||
do_install_prepend() {
|
||||
install -d ${D}${sysconfdir}/default/
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
|
||||
install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
|
||||
install -d ${D}${sysconfdir}/default/
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
|
||||
install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
|
||||
}
|
||||
|
||||
PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user