SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libimobiledevice"

# SliTaz package receipt.

PACKAGE="libimobiledevice"
VERSION="1.1.1"
CATEGORY="misc"
SHORT_DESC="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://libimobiledevice.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://cgit.sukimashita.com/libimobiledevice.git/snapshot/$TARBALL"

DEPENDS="gnutls glib libplist usbmuxd"
BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig \
libgnutls"

current_version()
{
    wget -O - https://github.com/libimobiledevice/libimobiledevice 2>/dev/null | \
    sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    patch -Np1 -i $stuff/swig-version-check.patch
    ./configure \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/python* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)