aboutsummaryrefslogtreecommitdiff
path: root/libimobiledevice/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /libimobiledevice/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'libimobiledevice/Pkgfile')
-rw-r--r--libimobiledevice/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/libimobiledevice/Pkgfile b/libimobiledevice/Pkgfile
new file mode 100644
index 0000000..2b517d1
--- /dev/null
+++ b/libimobiledevice/Pkgfile
@@ -0,0 +1,28 @@
+# Description: A cross-platform protocol library to communicate with iOS devices
+# URL: https://github.com/libimobiledevice/libimobiledevice
+# Maintainer: mac-a-r0ni, j at lngn dot net
+# Depends on: libusbmuxd
+
+name=libimobiledevice
+version=1.3.0
+release=2
+source=(https://github.com/libimobiledevice/libimobiledevice/releases/download/1.3.0/libimobiledevice-1.3.0.tar.bz2 libimobiledevice-libplist-2.3.0.patch)
+
+build()
+{
+
+cd $name-${version}*
+
+ # Fix build with libplist 2.3.0
+ patch -Np1 -i ../libimobiledevice-libplist-2.3.0.patch
+
+ autoreconf -fvi
+
+ ./configure --prefix=/usr --without-cython
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+
+ make DESTDIR=$PKG install
+ rm $PKG/usr/lib/*.la
+
+}