Commit 84b44151 authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/libusbmuxd: moved from unmaintained, added check(), improved APKBUILD

parent db14b79d
......@@ -8,34 +8,25 @@ url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch="all"
license="LGPL2.1"
depends="libplist libusb"
depends_dev="libplist-dev libusb-dev"
makedepends="$depends_dev"
install=""
makedepends="libplist-dev libusb-dev"
subpackages="$pkgname-dev"
source="http://www.libimobiledevice.org/downloads/libusbmuxd-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
check() {
cd "$builddir"
make check
}
build() {
cd "$_builddir"
cd "$builddir"
./configure --prefix=/usr
make
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
md5sums="e5351ff6f6eedcb50701e02d91cc480c libusbmuxd-1.0.10.tar.bz2"
sha256sums="1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2 libusbmuxd-1.0.10.tar.bz2"
sha512sums="180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535 libusbmuxd-1.0.10.tar.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment