void-packages/srcpkgs/libfm/template

34 lines
1.0 KiB
Plaintext
Raw Normal View History

2011-10-14 17:45:29 +02:00
# Template file for 'libfm'
pkgname=libfm
2014-01-25 12:24:39 +01:00
version=1.1.2.2
revision=1
build_style=gnu-configure
2012-08-13 16:18:13 +02:00
configure_args="--enable-udisks --disable-static"
hostmakedepends="automake glib-devel gtk-doc gettext-devel libtool pkg-config intltool"
2014-01-25 12:24:39 +01:00
makedepends="libexif-devel dbus-glib-devel gtk+-devel menu-cache-devel vala-devel udisks"
depends="desktop-file-utils udisks"
conf_files="
/etc/xdg/libfm/libfm.conf
/etc/xdg/libfm/pref-apps.conf"
2011-10-14 17:45:29 +02:00
short_desc="LXDE GLib/GIO based library"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-08-13 16:18:13 +02:00
homepage="http://pcmanfm.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/pcmanfm/$pkgname-$version.tar.gz"
2014-01-25 12:24:39 +01:00
checksum=158e2b6974350d2dab15932b496bb4d448553e60bbf7cdfe4d6e9bd99d19d682
pre_configure() {
sed -e '/AM_INIT_AUTOMAKE/s/foreign/& subdir-objects/' -i configure.ac
autoreconf -fi
2014-01-25 12:24:39 +01:00
}
2012-09-22 11:29:38 +02:00
libfm-devel_package() {
2014-01-25 12:24:39 +01:00
depends="gtk+-devel menu-cache-devel libfm>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-01-25 12:24:39 +01:00
vmove "usr/lib/*.so"
}
}