smlinux/base/libmtp/libmtp.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

35 lines
728 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
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"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--with-udev=/lib/udev
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d2f14b28713b43fb49f9b1e744a38ead2d98b31a060cefc3e49ab3b08521cbdd3edf5952e24b07f5b18c0cea50e2bb2f2cc17b531dda71c7e687d9f389de940e libmtp-1.1.17.tar.lz
"