package: add libsvgtiny library
No official releases, so use svn snapshot like tremor :/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
5ba54aa10b
commit
ab10ed8c87
4
CHANGES
4
CHANGES
@ -10,8 +10,8 @@
|
||||
|
||||
New GTK-based configurator, usable using 'make gconfig'.
|
||||
|
||||
New packages: cgilua, copas, coxpcall, ffmpeg, luafilesystem,
|
||||
luasocket, rings, wsapi, xavante, xterm
|
||||
New packages: cgilua, copas, coxpcall, ffmpeg, libsvgtiny,
|
||||
luafilesystem, luasocket, rings, wsapi, xavante, xterm
|
||||
|
||||
Updated/fixed packages: berkeleydb, bash, blackbox, busybox,
|
||||
cdrkit, dash, dialog, diffutils, distcc, dmalloc, dnsmasq,
|
||||
|
@ -271,6 +271,7 @@ source "package/libglade/Config.in"
|
||||
source "package/libgtk12/Config.in"
|
||||
source "package/libgtk2/Config.in"
|
||||
source "package/libpng/Config.in"
|
||||
source "package/libsvgtiny/Config.in"
|
||||
source "package/libungif/Config.in"
|
||||
source "package/pango/Config.in"
|
||||
source "package/pixman/Config.in"
|
||||
|
9
package/libsvgtiny/Config.in
Normal file
9
package/libsvgtiny/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LIBSVGTINY
|
||||
bool "libsvgtiny"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
Libsvgtiny is an implementation of SVG Tiny, written in C.
|
||||
It is currently in development for use with NetSurf and is
|
||||
intended to be suitable for use in other projects too.
|
||||
|
||||
http://www.netsurf-browser.org/projects/libsvgtiny/
|
47
package/libsvgtiny/libsvtiny.mk
Normal file
47
package/libsvgtiny/libsvtiny.mk
Normal file
@ -0,0 +1,47 @@
|
||||
############################################################
|
||||
#
|
||||
# libsvgtiny
|
||||
#
|
||||
############################################################
|
||||
|
||||
LIBSVGTINY_SITE = svn://svn.netsurf-browser.org/trunk/libsvgtiny
|
||||
LIBSVGTINY_VERSION = 9800
|
||||
LIBSVGTINY_SVNDIR = libsvgtiny-svn-r$(LIBSVGTINY_VERSION)
|
||||
LIBSVGTINY_SOURCE = $(LIBSVGTINY_SVNDIR).tar.bz2
|
||||
LIBSVGTINY_INSTALL_STAGING = YES
|
||||
LIBSVGTINY_INSTALL_TARGET = YES
|
||||
LIBSVGTINY_DEPENDENCIES = libxml2
|
||||
|
||||
$(DL_DIR)/$(LIBSVGTINY_SOURCE):
|
||||
$(SVN_CO) -r $(LIBSVGTINY_VERSION) $(LIBSVGTINY_SITE) $(BUILD_DIR)/$(LIBSVGTINY_SVNDIR)
|
||||
tar -cv -C $(BUILD_DIR) $(LIBSVGTINY_SVNDIR) | bzip2 - -c > $@
|
||||
rm -rf $(BUILD_DIR)/$(LIBSVGTINY_SVNDIR)
|
||||
|
||||
# use custom download step
|
||||
LIBSVGTINY_TARGET_SOURCE := $(DL_DIR)/$(LIBSVGTINY_SOURCE)
|
||||
|
||||
define LIBSVGTINY_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr
|
||||
endef
|
||||
|
||||
define LIBSVGTINY_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install
|
||||
endef
|
||||
|
||||
define LIBSVGTINY_UNINSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall
|
||||
endef
|
||||
|
||||
define LIBSVGTINY_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define LIBSVGTINY_UNINSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall
|
||||
endef
|
||||
|
||||
define BZIP2_CLEAN_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS,package,libsvgtiny))
|
Loading…
Reference in New Issue
Block a user