1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/shared-mime-info/trunk/Makefile

Revision 16916, 1.9 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

Line 
1NAME = shared-mime-info
2VERSION = 0.71
3CATEGORIES = lib
4GARTYPE = v2
5
6DESCRIPTION = Freedesktop.org common MIME database
7define BLURB
8  The shared-mime-info package contains the core database of common types and
9  the *update-mime-database* command used to extend it. It requires glib2 to be
10  installed for building the update command. Additionally, it uses intltool for
11  translations, though this is only a dependency for the maintainers. This
12  database is translated at Transifex.
13endef
14
15MASTER_SITES = http://freedesktop.org/~hadess/
16DISTFILES    = $(NAME)-$(VERSION).tar.bz2
17
18# This is for replacing /usr/local/share by /opt/csw/share in the
19# default XDG_DATA_DIRS
20PATCHFILES += 0001-Set-default-XDG_DATA_DIRS-to-opt-csw-share.patch
21
22# This is because CSWlibglib2-0-0 is only available on Solaris 10+
23PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
24
25# We define upstream file regex so we can be notifed of new upstream software release
26UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
27
28BUILD_DEP_PKGS = CSWgnulinks
29
30PACKAGES = CSWsharedmimeinfo
31CATALOGNAME = shared_mime_info
32CHECKPKG_OVERRIDES  = catalogname-does-not-match-pkgname|pkgname=CSWsharedmimeinfo|catalogname=shared_mime_info|expected-catalogname=sharedmimeinfo
33
34# /usr/local does no harm here
35CHECKPKG_OVERRIDES += file-with-bad-content|/usr/local|root/opt/csw/share/mime/mime.cache
36CHECKPKG_OVERRIDES += file-with-bad-content|/usr/local|root/opt/csw/share/mime/magic
37CHECKPKG_OVERRIDES += file-with-bad-content|/usr/local|root/opt/csw/share/mime/packages/freedesktop.org.xml
38# My patch does deliberately not remove /usr/share
39CHECKPKG_OVERRIDES += file-with-bad-content|/usr/share|root/opt/csw/bin/update-mime-database
40
41SPKG_SOURCEURL = http://freedesktop.org/Software/shared-mime-info
42
43RUNTIME_DEP_PKGS += CSWlibglib2-0-0 CSWlibintl8 CSWlibxml2-2
44
45CONFIGURE_ARGS = $(DIRPATHS)
46
47include gar/category.mk
48
49PATH := /opt/csw/gnu:$(PATH)
Note: See TracBrowser for help on using the browser.