mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
shared_mime_info: Convert to a working recipe.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
DESCRIPTION="Freedesktop MIME database specification"
|
||||
HOMEPAGE="http://freedesktop.org/wiki/Software/shared-mime-info"
|
||||
SRC_URI="http://freedesktop.org/~hadess/shared-mime-info-1.0.tar.xz"
|
||||
CHECKSUM_MD5="901b7977dbb2b71d12d30d4d8fb97028"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND="intltool,
|
||||
glib"
|
||||
BUILD()
|
||||
{
|
||||
cd shared-mime-info-1.0
|
||||
./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \
|
||||
--datarootdir="$(finddir B_COMMON_DATA_DIRECTORY)" \
|
||||
--mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man"
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd shared-mime-info-1.0
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT=""Freedesktop.org
|
||||
58
x11-misc/shared_mime_info/shared_mime_info-1.3.recipe
Normal file
58
x11-misc/shared_mime_info/shared_mime_info-1.3.recipe
Normal file
@@ -0,0 +1,58 @@
|
||||
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"
|
||||
SRC_URI="http://freedesktop.org/~hadess/shared-mime-info-1.3.tar.xz"
|
||||
CHECKSUM_SHA256="4fd49c8c7ca9ecb10c59845094a18dbb73b69c72b4bad3db5e864f2111cb323a"
|
||||
SOURCE_DIR="shared-mime-info-1.3"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2009-2014 Freedesktop.org"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
shared_mime_info
|
||||
cmd:update_mime_database
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:autoconf
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:xmllint
|
||||
intltool
|
||||
cmd:awk
|
||||
cmd:make
|
||||
cmd:g++$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix \
|
||||
--datarootdir=$dataDir \
|
||||
--mandir=$manDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
fixPkgconfig
|
||||
}
|
||||
Reference in New Issue
Block a user