aboutsummaryrefslogtreecommitdiff
path: root/libimobiledevice/Pkgfile
blob: 5c49b3f2571442246676be416e93416c3d9c8b14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: A cross-platform protocol library to communicate with iOS devices
# URL: https://github.com/libimobiledevice/libimobiledevice
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: libtatsu libusbmuxd

name=libimobiledevice
version=1.4.0
release=1
source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar.bz2)

build()
{

cd $name-${version}*

  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

}