aboutsummaryrefslogtreecommitdiffstats
path: root/meta/packages/pseudo/pseudo_git.bb
blob: 92ea897d66fdb207f117e3c365c662146307d058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"