Browse Source

libudev-zero: update to version 0.4.5

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 4 years ago
parent
commit
283d264d74
No known key found for this signature in database GPG Key ID: DD8D36F0A710502F
2 changed files with 2 additions and 26 deletions
  1. +2
    -2
      libs/libudev-zero/Makefile
  2. +0
    -24
      libs/libudev-zero/patches/010-pkgconfig.patch

+ 2
- 2
libs/libudev-zero/Makefile View File

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libudev-zero PKG_NAME:=libudev-zero
PKG_VERSION:=0.4.4
PKG_VERSION:=0.4.5
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/illiliti/libudev-zero/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/illiliti/libudev-zero/tar.gz/$(PKG_VERSION)?
PKG_HASH:=4b135e16a9720430eda31dce96c1135aaa3db6b5bbccbbf2be94ec1aad7509a8
PKG_HASH:=12d1b15478b033adbb1f34d49053afa5f42d862b82b2085e025dc184f5b64450
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT


+ 0
- 24
libs/libudev-zero/patches/010-pkgconfig.patch View File

@ -1,24 +0,0 @@
--- a/Makefile
+++ b/Makefile
@@ -29,8 +29,7 @@ libudev.so: ${OBJ}
${CC} ${XCFLAGS} -o $@ ${OBJ} ${XLDFLAGS}
libudev.pc: libudev.pc.in
- sed -e 's|@libdir@|${LIBDIR}|g' \
- -e 's|@includedir@|${INCLUDEDIR}|g' \
+ sed -e 's|@prefix@|${PREFIX}|g' \
-e 's|@VERSION@|243|g' \
libudev.pc.in > libudev.pc
--- a/libudev.pc.in
+++ b/libudev.pc.in
@@ -1,5 +1,7 @@
-libdir=@libdir@
-includedir=@includedir@
+prefix=@prefix@
+exec_prefix=@prefix@
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
Name: libudev
Description: Daemonless replacement for libudev

Loading…
Cancel
Save