libgphoto2: switch to /usr.
This commit is contained in:
parent
ccc83ce126
commit
ab3f6ad85d
1 changed files with 6 additions and 9 deletions
|
@ -1,15 +1,16 @@
|
||||||
# Template file for 'libgphoto2'
|
# Template file for 'libgphoto2'
|
||||||
pkgname=libgphoto2
|
pkgname=libgphoto2
|
||||||
version=2.4.14
|
version=2.4.14
|
||||||
homepage="http://www.gphoto.org"
|
revision=2
|
||||||
distfiles="${SOURCEFORGE_SITE}/gphoto/$pkgname-$version.tar.bz2"
|
subpackages="$pkgname-devel"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-rpath udevscriptdir=/lib/udev"
|
configure_args="--disable-rpath udevscriptdir=/lib/udev"
|
||||||
makedepends="pkg-config libltdl-devel libusb-compat-devel jpeg-devel gd-devel libexif-devel"
|
makedepends="pkg-config libltdl-devel libusb-compat-devel jpeg-devel gd-devel libexif-devel"
|
||||||
revision=1
|
|
||||||
short_desc="Digital camera access library"
|
short_desc="Digital camera access library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
homepage="http://www.gphoto.org"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/gphoto/$pkgname-$version.tar.bz2"
|
||||||
checksum=59b32d45252f67d066cc3bda7a59f8078e0cf4e7f23590a4b621633e81060292
|
checksum=59b32d45252f67d066cc3bda7a59f8078e0cf4e7f23590a4b621633e81060292
|
||||||
long_desc="
|
long_desc="
|
||||||
libgphoto2 is the core library designed to allow access to digital
|
libgphoto2 is the core library designed to allow access to digital
|
||||||
|
@ -23,20 +24,16 @@ long_desc="
|
||||||
required callbacks. All of this will be transparent to client
|
required callbacks. All of this will be transparent to client
|
||||||
programs that call libgphoto2."
|
programs that call libgphoto2."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Remove unused udev helper
|
# Remove unused udev helper
|
||||||
rm -rf ${pkgdir}/usr/lib/udev
|
rm -rf ${pkgdir}/usr/lib/udev
|
||||||
|
|
||||||
vmkdir lib/udev/rules.d
|
vmkdir usr/lib/udev/rules.d
|
||||||
LD_LIBRARY_PATH="${DESTDIR}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
|
LD_LIBRARY_PATH="${DESTDIR}/usr/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
|
||||||
CAMLIBS="${DESTDIR}/usr/lib/libgphoto2/${version}" \
|
CAMLIBS="${DESTDIR}/usr/lib/libgphoto2/${version}" \
|
||||||
"${DESTDIR}/usr/lib/libgphoto2/print-camera-list" udev-rules version 136 > \
|
"${DESTDIR}/usr/lib/libgphoto2/print-camera-list" udev-rules version 136 > \
|
||||||
"${DESTDIR}/lib/udev/rules.d/40-gphoto.rules"
|
"${DESTDIR}/usr/lib/udev/rules.d/40-gphoto.rules"
|
||||||
|
|
||||||
# Remove recursive symlink
|
# Remove recursive symlink
|
||||||
rm -f ${DESTDIR}/usr/include/gphoto2/gphoto2
|
rm -f ${DESTDIR}/usr/include/gphoto2/gphoto2
|
||||||
install -d ${DESTDIR}/lib/udev/rules.d
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue