mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 02:19:39 +01:00
Uprev pseudo to the latest head version to resolve a number of issues on older hosts such as RHEL 5. In addition sqlite was changed to link statically into pseudo to avoid a potential LD_LIBRARY_PATH issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
38 lines
954 B
BlitzBasic
38 lines
954 B
BlitzBasic
DESCRIPTION = "Pseudo gives fake root capabilities to a normal user"
|
|
HOMEPAGE = "http://wiki.github.com/wrpseudo/pseudo/"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
|
|
SECTION = "base"
|
|
LICENSE = "LGPL2.1"
|
|
DEPENDS = "sqlite3"
|
|
|
|
PV = "0.0+git${SRCPV}"
|
|
PR = "r5"
|
|
|
|
SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \
|
|
file://tweakflags.patch \
|
|
file://path-munge.patch \
|
|
file://ld_sacredness.patch \
|
|
file://make_parallel.patch \
|
|
file://static_sqlite.patch"
|
|
|
|
FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo"
|
|
PROVIDES += "virtual/fakeroot"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit siteinfo
|
|
|
|
do_configure () {
|
|
${S}/configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS} --data=${localstatedir}
|
|
}
|
|
|
|
do_install () {
|
|
oe_runmake 'DESTDIR=${D}' install
|
|
}
|
|
|
|
NATIVE_INSTALL_WORKS = "1"
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
|