diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-01-14 14:26:16 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-01-14 14:31:14 -0800 |
| commit | 1ed152e32ec523c83bb05a4ae828c92fbb894acb (patch) | |
| tree | 4266c8097489b082be47630e1148bb84dfc804b5 /meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb | |
| parent | 6fc561ce106dfb00631043f274345443d124e6ae (diff) | |
| download | meta-openembedded-1ed152e32ec523c83bb05a4ae828c92fbb894acb.tar.gz | |
lockdev: Switch to use archive tarballs for SRC_URI
anonscm.debian.org has been replaced with https://salsa.debian.org
however, lockdev has been dropped from debian packages, so its not
maintained at salsa.debian.org, therefore resort to archives and add few
more fixes to get it building from archive.
bump PE since version still remains 1.0.3 but we drop +git${...} from PV
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb')
| -rw-r--r-- | meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb b/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb new file mode 100644 index 0000000000..5b862bd1fe --- /dev/null +++ b/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "Locking devices library" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "LGPLv2.1" | ||
| 4 | LIC_FILES_CHKSUM="file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499" | ||
| 5 | |||
| 6 | PE = "1" | ||
| 7 | SRC_URI = "http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz \ | ||
| 8 | http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockdev/lockdev_${PV}-1.6.diff.gz;name=debianpatch \ | ||
| 9 | file://cross_compile.patch \ | ||
| 10 | file://build.patch \ | ||
| 11 | " | ||
| 12 | SRC_URI[md5sum] = "64b9c1b87b125fc348e892e24625524a" | ||
| 13 | SRC_URI[sha256sum] = "ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82" | ||
| 14 | SRC_URI[debianpatch.md5sum] = "5ef6267c42fca9145e0af006ccb6aff7" | ||
| 15 | SRC_URI[debianpatch.sha256sum] = "a5405c6ee5e97e45eeb1c81330a7e9f444a58bda5e6771fa30007516c115007e" | ||
| 16 | |||
| 17 | inherit lib_package perlnative | ||
| 18 | export basedir="${D}${prefix}" | ||
| 19 | |||
| 20 | CFLAGS += " -D__GNU_LIBRARY__" | ||
| 21 | |||
| 22 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 23 | |||
| 24 | do_compile() { | ||
| 25 | oe_runmake basedir=${D}${prefix} LD="${CC}" LD="${CC}" shared static | ||
| 26 | } | ||
| 27 | do_install() { | ||
| 28 | oe_runmake DESTDIR=${D} basedir=${D}${prefix} install | ||
| 29 | } | ||
