mirror of
https://github.com/mac-a-r0ni/crux-xfce4.git
synced 2025-02-02 02:42:19 +01:00
29 lines
723 B
Plaintext
29 lines
723 B
Plaintext
# 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
|
|
|
|
}
|