summaryrefslogtreecommitdiff
path: root/libwpg
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-09-21 16:53:52 +0200
committerDavid Tardon <dtardon@redhat.com>2012-09-22 14:57:30 +0200
commitf8afd6e28232a02eace0fda3a34b4edc8dc667fe (patch)
treeb4f9e72939dbf99514f9a9e084cee515e35f64d5 /libwpg
parent98a852fe6af082fc9c9679841dc390b4635888d4 (diff)
update ext. projects to use ExternalPackage
Change-Id: Ia66854f21446fff9a04b1708964286c566333ab0
Diffstat (limited to 'libwpg')
-rw-r--r--libwpg/ExternalPackage_libwpg.mk (renamed from libwpg/Package_libwpg.mk)6
-rw-r--r--libwpg/Module_libwpg.mk2
2 files changed, 3 insertions, 5 deletions
diff --git a/libwpg/Package_libwpg.mk b/libwpg/ExternalPackage_libwpg.mk
index 6a1f6a4a3b99..34cd932fcd62 100644
--- a/libwpg/Package_libwpg.mk
+++ b/libwpg/ExternalPackage_libwpg.mk
@@ -7,11 +7,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-$(eval $(call gb_Package_Package,libwpg_inc,$(call gb_UnpackedTarball_get_dir,wpg/src/lib)))
+$(eval $(call gb_ExternalPackage_ExternalPackage,libwpg_inc,wpg))
-$(eval $(call gb_Package_use_unpacked,libwpg_inc,wpg))
-
-$(eval $(call gb_Package_add_files,libwpg_inc,inc/external/libwpg,\
+$(eval $(call gb_ExternalPackage_add_unpacked_files,libwpg_inc,inc/external/libwpg,\
libwpg.h \
WPGPaintInterface.h \
WPGraphics.h \
diff --git a/libwpg/Module_libwpg.mk b/libwpg/Module_libwpg.mk
index 9e271dc08511..e628b89cda8c 100644
--- a/libwpg/Module_libwpg.mk
+++ b/libwpg/Module_libwpg.mk
@@ -12,7 +12,7 @@ $(eval $(call gb_Module_Module,libwpg))
ifeq ($(SYSTEM_LIBWPG),NO)
$(eval $(call gb_Module_add_targets,libwpg,\
- Package_libwpg \
+ ExternalPackage_libwpg \
StaticLibrary_wpg \
UnpackedTarball_wpg \
))