Package Base Details: lief

Git Clone URL: https://aur.archlinux.org/lief.git (read-only, click to copy)
Keywords: elf mach-o pe
Submitter: dobo
Maintainer: Xeonacid (greyltc)
Last Packager: Xeonacid
Votes: 5
Popularity: 0.095696
First Submitted: 2018-11-14 22:00 (UTC)
Last Updated: 2024-04-11 05:18 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

eschulte commented on 2020-04-23 21:44 (UTC) (edited on 2020-04-23 21:44 (UTC) by eschulte)

Adding the following to the package function is sufficient to bring the C API back (but I don't think this is necessarily the best solution).

make -C build install DESTDIR="${pkgdir}" install

eschulte commented on 2020-04-23 21:30 (UTC)

In particular https://aur.archlinux.org/packages/ddisasm-git/ requires the C API.

eschulte commented on 2020-04-23 21:29 (UTC) (edited on 2020-04-23 21:30 (UTC) by eschulte)

This is no longer installing the C headers or /usr/lib/libLIEF.so. It looks like after the change in February to invoke CMake via setup.py the CMake configuration has been changed to not install support for the C API.

edit: typo

eschulte commented on 2020-01-16 20:22 (UTC)

It is possible to build the newest version 0.10.1. The following changes work for me, could they be applied?

@@ -1,7 +1,7 @@
 # Maintainer: Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>

 pkgname=lief
-pkgver=0.9.0
+pkgver=0.10.1
 pkgrel=1
 pkgdesc='Library to instrument executable formats'
 arch=(i686  x86_64)
@@ -15,20 +15,14 @@ md5sums=(SKIP)
 build() {
   cd "${srcdir}/LIEF"

-  mkdir build
+  mkdir -p build
   cd build

   cmake -DCMAKE_BUILD_TYPE=Release ..
   make
-
-  cd "${srcdir}/LIEF/build/api/python"
-  python setup.py build
 }

 package() {
   cd "${srcdir}/LIEF/build"
   make DESTDIR="${pkgdir}" install
-
-  cd "${srcdir}/LIEF/build/api/python"
-  python setup.py install --root="${pkgdir}" --optimize=1
 }