From ec6e6df7927da6153101482e3197d539bead673c Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sat, 9 Feb 2019 15:02:54 +0100 Subject: pcr/uci: unmaintained. removed --- pcr/uci/PKGBUILD | 32 -------------------------------- pcr/uci/uci-0.8.0-lua5.1.patch | 31 ------------------------------- 2 files changed, 63 deletions(-) delete mode 100644 pcr/uci/PKGBUILD delete mode 100644 pcr/uci/uci-0.8.0-lua5.1.patch (limited to 'pcr/uci') diff --git a/pcr/uci/PKGBUILD b/pcr/uci/PKGBUILD deleted file mode 100644 index 976a06824..000000000 --- a/pcr/uci/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Nicolás Reynolds -pkgname=uci -pkgver=v0.8.0.43.g2fcc6d7 -pkgrel=2 -pkgdesc="OpenWRT's Unified Configuration Interface" -arch=('i686' 'x86_64') -url="https://openwrt.org" -license=('GPL2') -depends=('libubox') -makedepends=('git' 'cmake' 'lua51') -source=(git://nbd.name/uci.git) -md5sums=(SKIP) - -pkgver() { - cd ${srcdir}/${pkgname} - local ver="$(git describe --long --tags)" - printf "%s" "${ver//-/.}" -} - -build() { - cd ${srcdir}/${pkgname} - - cmake -DCMAKE_INSTALL_PREFIX=/usr . - make -} - -package() { - cd ${srcdir}/${pkgname} - make DESTDIR=${pkgdir}/ install -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/uci/uci-0.8.0-lua5.1.patch b/pcr/uci/uci-0.8.0-lua5.1.patch deleted file mode 100644 index d3e486f87..000000000 --- a/pcr/uci/uci-0.8.0-lua5.1.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- uci-0.8.0.orig/lua/CMakeLists.txt 2011-07-19 15:39:56.000000000 -0500 -+++ uci-0.8.0/lua/CMakeLists.txt 2013-02-12 21:16:02.583984374 -0500 -@@ -4,7 +4,18 @@ - - SET(CMAKE_INSTALL_PREFIX /) - --ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I..) -+IF(NOT LUA_CFLAGS) -+ FIND_PROGRAM(PKG_CONFIG pkg-config) -+ IF(PKG_CONFIG) -+ EXECUTE_PROCESS( -+ COMMAND pkg-config --silence-errors --cflags lua5.1 -+ OUTPUT_VARIABLE LUA_CFLAGS -+ OUTPUT_STRIP_TRAILING_WHITESPACE -+ ) -+ ENDIF() -+ENDIF() -+ -+ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I.. ${LUA_CFLAGS}) - LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) - - IF(APPLE) -@@ -13,7 +24,7 @@ - - IF(NOT LUAPATH) - EXECUTE_PROCESS( -- COMMAND lua -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end" -+ COMMAND lua5.1 -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end" - OUTPUT_VARIABLE LUAPATH - RESULT_VARIABLE LUA_CHECK_RES - OUTPUT_STRIP_TRAILING_WHITESPACE -- cgit v1.2.3