Skip to content

Commit

Permalink
libmtp: split tools/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dkwo committed Dec 13, 2023
1 parent ce971dc commit 56e3efd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions srcpkgs/libmtp/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'libmtp'
pkgname=libmtp
version=1.1.21
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --with-udev=/usr/lib/udev
--with-udev-group=plugdev"
Expand All @@ -17,7 +17,7 @@ checksum=c4ffa5ab8c8f48c91b0047f2e253c101c418d5696a5ed65c839922a4280872a7

if [ "$CROSS_BUILD" ]; then
# XXX needs host mtp-hotplug
hostmakedepends+=" libmtp"
hostmakedepends+=" mtp-tools"
fi

pre_configure() {
Expand All @@ -35,3 +35,11 @@ libmtp-devel_package() {
vmove "usr/lib/*.so"
}
}

mtp-tools_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - example tools"
pkg_install() {
vmove "usr/bin/*"
}
}
1 change: 1 addition & 0 deletions srcpkgs/mtp-tools

0 comments on commit 56e3efd

Please sign in to comment.