Added libmtp-1.0.2 build template.
This commit is contained in:
parent
926e92ddbc
commit
97adf4e62a
|
@ -0,0 +1 @@
|
|||
libmtp
|
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=1.0.2"
|
||||
api_depends="${abi_depends}"
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'libmtp-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libusb-compat-devel
|
||||
Add_dependency run libmtp
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'libmtp'
|
||||
pkgname=libmtp
|
||||
version=1.0.2
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=23adc4d18b5d9e0932a542104b871163cdadc09e697184199ecaaa33eaffa7af
|
||||
long_desc="
|
||||
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
|
||||
in the form of a library suitable primarily for POSIX compliant operating
|
||||
systems."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libusb-compat
|
||||
Add_dependency build doxygen
|
||||
Add_dependency build libusb-compat-devel
|
||||
|
||||
post_install()
|
||||
{
|
||||
install -D -m644 ${wrksrc}/libmtp.rules \
|
||||
${DESTDIR}/lib/udev/rules.d/52-libmtp.rules
|
||||
}
|
|
@ -642,3 +642,4 @@ libmpi.so openmpi openmpi-devel
|
|||
libopenmpi_malloc.so openmpi openmpi-devel
|
||||
libopen-pal.so openmpi openmpi-devel
|
||||
libopen-rte.so openmpi openmpi-devel
|
||||
libmtp.so libmtp libmtp-devel
|
||||
|
|
Loading…
Reference in New Issue