contrib/libfm/Pkgfile
2011-07-11 17:28:48 +02:00

36 lines
876 B
Plaintext

# Description: gtk library for writing file managers
# URL: http://pcmanfm.sourceforge.net/
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
# Depends on: gtk menu-cache
name=libfm
version=0.1.14
release=2
source=(
http://crux.org.pl/distfiles/$name-$version.tar.gz
libfm-0.1.14_crux_glib_ge_2_27.patch
)
build() {
cd $name-$version
patch -p1 -i ../libfm-0.1.14_crux_glib_ge_2_27.patch
rm -rf po/* docs/*
aclocal
autoheader --force
libtoolize -c --automake --force
automake --add-missing --copy --include-deps
autoconf
rm -rf autom4te.cache
./configure \
--prefix=/usr \
--disable-nls \
--disable-static \
--sysconfdir=/etc \
--disable-gtk-doc-html
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
rm -rf $PKG/usr/share/gtk-doc
}