Files
haikuports/x11-misc/shared_mime_info/shared_mime_info-1.9.recipe
2017-09-22 17:56:46 +02:00

58 lines
1.5 KiB
Bash

SUMMARY="Freedesktop MIME database specification"
DESCRIPTION="The shared-mime-info package contains the core database \
of common types and the update-mime-database command used to extend it. \
It requires glib2 to be installed for building the update command. \
Additionally, it uses intltool for translations, though this is only a \
dependency for the maintainers."
HOMEPAGE="http://freedesktop.org/wiki/Software/shared-mime-info"
COPYRIGHT="2009-2016 Freedesktop.org"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://freedesktop.org/~hadess/shared-mime-info-$portVersion.tar.xz"
CHECKSUM_SHA256="5c0133ec4e228e41bdf52f726d271a2d821499c2ab97afd3aa3d6cf43efcdc83"
SOURCE_DIR="shared-mime-info-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
shared_mime_info$secondaryArchSuffix = $portVersion
cmd:update_mime_database$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:intltool_update
cmd:make
cmd:g++$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:xmllint
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure --disable-default-make-check
make $jobArgs
}
INSTALL()
{
make install
fixPkgconfig
}