smlinux/base/libmtp/libmtp.SMBuild
PktSurf 761d688cd9 Converted most source tarballs in base to lzip format ending with .tar.lz, updated SHA512 sums in affected build files
Removed --sysconfdir option in a lot of build files in base
Added preservestaticlibs option in base/argp-standalone
Fixed CFLAGS variable in base/{file,grep}
Fixed build options in base/gstreamer
Fixed LDFLAGS variable in base/less
Removed CFLAGS variable in base/libarchive
Multiple build option fixes in base/nasm
2022-10-04 19:59:37 +05:30

31 lines
644 B
Text
Executable file

app=libmtp
version=1.1.17
build=1sml
homepage="https://github.com/libmtp/libmtp"
desc="Library for communicating with MTP devices"
requires="libgpg-error libgcrypt eudev libusb"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static \
--with-udev=/lib/udev
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d2f14b28713b43fb49f9b1e744a38ead2d98b31a060cefc3e49ab3b08521cbdd3edf5952e24b07f5b18c0cea50e2bb2f2cc17b531dda71c7e687d9f389de940e libmtp-1.1.17.tar.lz
"