vp-build/templates/shared-mime-info.tmpl
Juan RP ea82ff8d3d shared-mime-info: install the pkgconfig file in correct dir.
--HG--
extra : convert_revision : 008f93ddc3c8e051b0cafaca88be330821e22edb
2008-10-11 06:27:29 +02:00

33 lines
1.3 KiB
Cheetah
Executable File

# Template build file for 'shared-mime-info'.
pkgname=shared-mime-info
version=0.51
patch_files="$pkgname-fix-pkgconfig.diff"
extract_sufx=".tar.bz2"
url=http://people.freedesktop.org/~hadess
build_style=gnu_configure
configure_args="--disable-update-mimedb"
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
pkgconfig_override="shared-mime-info.pc"
short_desc="Core database of common types"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9e0281f3bd9ac44af60833ec6b15af9f58936cc7
long_desc="
Many programs and desktops use the MIME system to represent the types of
files. Frequently, it is necessary to work out the correct MIME type for
a file. This is generally done by examining the file's name or contents,
and looking up the correct MIME type in a database.
For interoperability, it is useful for different programs to use the same
database so that different programs agree on the type of a file, and new
rules for determining the type apply to all programs.
This package contains the core database of common types and the
update-mime-database command used to extend it."
# Fix hardcoded mime-info database PATH.
run_stuff_before="build"
run_stuff_before_build_file="$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-build.sh"
# Update shared-mime-info database file.
postinstall_helpers="update-mimedb.sh"