mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libfm_extra: add recipe for version 1.3.0.2
This commit is contained in:
86
x11-libs/libfm-extra/libfm_extra-1.3.0.2.recipe
Normal file
86
x11-libs/libfm-extra/libfm_extra-1.3.0.2.recipe
Normal file
@@ -0,0 +1,86 @@
|
||||
SUMMARY="Core library of PCManFM file manager"
|
||||
DESCRIPTION="A glib/gio-based library providing some file management /
|
||||
utilities and related-widgets missing in gtk+/glib. This is the core of /
|
||||
PCManFM. The library is desktop independent (not LXDE specific) and has /
|
||||
clean API. It can be used to develop other applications requiring file /
|
||||
management functionality. For example, you can create your own file manager /
|
||||
with facilities provided by libfm."
|
||||
HOMEPAGE="https://wiki.lxde.org/en/Libfm/"
|
||||
COPYRIGHT="
|
||||
Hong Jen Yee, aka PCMan
|
||||
Jürgen Hötzel
|
||||
Andriy Grytsenko (LStranger)
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/lxde/libfm/archive/$portVersion.tar.gz"
|
||||
SOURCE_DIR="libfm-$portVersion"
|
||||
CHECKSUM_SHA256="2247e1a19ed24bcd0fcafd989b8c4d29458523399c856798705d6b579fd9565d"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
libfm_extra$secondaryArchSuffix = $portVersion
|
||||
lib:libfm_extra$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexif$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libgthread_2.0$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libfm_extra${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfm_extra$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libfm_extra$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libexif$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gtkdocize
|
||||
cmd:intltoolize$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:vala
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure --without-gtk --disable-gtk-doc --with-extra-only
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm -f $libDir/libfm-extra.la
|
||||
|
||||
prepareInstalledDevelLibs libfm-extra
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user