pcmanfm: make this build without using automake.

This commit is contained in:
Juan RP 2012-06-04 17:47:53 +02:00
parent 76dfe11e0a
commit 0b1d1d9a7f
2 changed files with 6 additions and 24 deletions

View file

@ -1,12 +0,0 @@
pcmanfm-desktop.c uses ceil(3) so must be linked to libm.
--- src/Makefile.am.orig 2012-01-16 17:03:19.091356701 +0100
+++ src/Makefile.am 2012-01-16 17:03:34.625980985 +0100
@@ -48,6 +48,7 @@ pcmanfm_LDADD = \
$(GMODULE_LIBS) \
$(FM_LIBS) \
$(MENU_CACHE_LIBS) \
+ -lm \
$(NULL)
noinst_PROGRAMS=xml-purge

View file

@ -1,13 +1,15 @@
# Template file for 'pcmanfm'
pkgname=pcmanfm
version=0.9.10
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu-configure
makedepends="automake pkg-config intltool gtk+-devel libfm-devel"
fulldepends="desktop-file-utils"
revision=1
build_style=gnu-configure
LDFLAGS="-lm"
depends="desktop-file-utils"
makedepends="pkg-config intltool gtk+-devel libfm-devel"
conf_files="/etc/xdg/pcmanfm/default/pcmanfm.conf"
short_desc="LXDE file manager"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=f133c6f207f719d1fc69fe8bc07b2de6883c6937ffa87448df42e3b1a30e0298
long_desc="
Features:
@ -15,11 +17,3 @@ long_desc="
with tabbed browsing.
* The default file manager for the lightweight desktop environment, LXDE.
* It is named PCManFM after its author's nickname on the internet, PCMan."
conf_files="/etc/xdg/pcmanfm/default/pcmanfm.conf"
pre_configure() {
autoreconf -fi
}