smlinux/base/libplist/libplist.SMBuild

36 lines
780 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libplist
version=2.2.0
build=1sml
homepage="http://www.libimobiledevice.org/"
download="https://github.com/libimobiledevice/libplist/archive/refs/tags/$version.tar.gz"
desc="A library for Apple Binary and XML Property Lists"
requires="glib"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
NOCONFIGURE=1 ./autogen.sh
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
764ceea2817933c5299248c64ffb3f96145f97107f71e328f3877e3451ca93dbd528ff27d57b0d9ccd13e86f5c3818baeac8b82068d9a4b906a6fdd2ec4cab4a libplist-2.2.0.tar.lz
"