mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
58 lines
1.5 KiB
Bash
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="eacc781cfebaa2074e43cf9521dc7ab4391ace8a4712902b2841669c83144d2e"
|
|
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
|
|
glib2$secondaryArchSuffix >= 2
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
intltool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:make
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xmllint
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
fixPkgconfig
|
|
}
|