summaryrefslogtreecommitdiffstats
path: root/package/shared-mime-info/shared-mime-info.mk
Commit message (Collapse)AuthorAgeFilesLines
* packages: remove all := signsThomas Petazzoni2013-01-201-1/+1
| | | | | | | | | | | Finally get rid of all := used for variable definitions in packages, as we suggest in our manual and during the review of new packages. While I was at it, I also sometimes added a few missing new lines between the header and the first variable definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGustavo Zacarias2012-10-291-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* shared-mime-info: remove default optionsPeter Korsgaard2011-07-181-2/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* shared-mime-info: update to version 0.90Sven Neumann2011-07-181-3/+4
| | | | | | | Need to use $(MAKE1) as parallel builds appear to be broken. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* shared-mime-info: convert old-style hook to new-style hookThomas Petazzoni2010-09-121-7/+6
| | | | | | | | We don't want to use 'make DESTDIR=$(TARGET_DIR) install' as we only want the MIME database to be installed on the target. So we simply override the target installation command. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shared-mime-info: missing dependency on host-intltoolThomas Petazzoni2010-05-101-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shared-mime-info: do not depend on phony target in hookThomas Petazzoni2010-02-231-2/+2
| | | | | | | Real targets should not depend on phony targets, otherwise they get rebuilt everytime. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shared-mime-info: run update-mime-database with correct env variablesThomas Petazzoni2010-02-231-1/+1
| | | | | | | | | | | | | When installing shared-mime-info on the target, we runn update-mime-database, which has been built previously by building and installing shared-mime-info for the host. However, for update-mime-database (host version) to run properly, we must pass the appropriate LD_LIBRARY_PATH variable. We re-use the existing $(HOST_MAKE_ENV) variable to pass all the appropriate variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shared-mime-info: convert to autotools infrastructure for host packageThomas Petazzoni2009-12-151-45/+7
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-pkgconfig is now host-pkg-configThomas Petazzoni2009-12-151-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shared-mime-info: create post-install-hook stamp filePeter Korsgaard2009-10-031-1/+2
| | | | | | | | Ensures that the hook isn't run every time. Also use the real stamp file from the host build instead of host-share-mime-info as dependency, as otherwise the target is always considered out-of-date. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* shared-mime-info: target compilation needs target versions of libglib2/libxml2Peter Korsgaard2009-09-271-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix issues in shared-mime-infoThomas Petazzoni2009-04-291-1/+0
| | | | | | | | * Properly indent Config.in * Remove unneeded SHARED_MIME_INFO_INSTALL_STAGING_OPT definition Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add the shared-mime-info packageThomas Petazzoni2009-04-291-0/+72
The shared-mime-info package contains the core database of common types and the update-mime-database command used to extend it. The only thing that is actually needed in the target is the file mime.cache. In order to generate that file, shared-mime-info is installed into the staging-dir. The idea is that other packages might add more mime-info files and these should be collected in staging-dir. From there the mime.cache file is created using tools installed in host-dir and copied to target. From Sven Neumann <s.neumann@raumfeld.com> Modifications by Thomas Petazzoni : * Add a patch to the main Makefile.am so that the $(XMLLINT) variable is used instead of hardcoding xmllint * Apply the patch in the host build of shared-mime-info * In the target build, pass an XMLLINT environment variable so that the xmllint binary isn't searched in $(STAGING_DIR) but in $(HOST_DIR) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>