Set("CONFIG_CHARSET");
Set("CONFIG_XML");
Set("CONFIG_IMAGES");
+UnSet("CONFIG_IMAGES_LIBUNGIF");
+Set("CONFIG_IMAGES_LIBGIF");
1;
Source: libucw
-Section: apps
Priority: optional
-Maintainer: Pavel Charvat <pchar@ucw.cz>
-Build-Depends: debhelper (>= 7)
+Maintainer: LibUCW developers <libucw-devel@ucw.cz>
+Build-Depends: debhelper (>= 7), devscripts, bash, pkg-config, libjpeg-dev, libpng-dev, libgif-dev, asciidoc
Standards-Version: 3.8.0
Package: libucw-@UCW_ABI_VERSION@
+Section: libs
Architecture: any
-Depends: ${shlib:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: LibUCW library
Package: libucw-dev
+Section: libdevel
Architecture: any
-Depends: libucw-@UCW_ABI_VERSION@ (= @VER@), ${shlib:Depends}, ${misc:Depends}
+Depends: libucw-@UCW_ABI_VERSION@ (= @VER@), ${shlibs:Depends}, ${misc:Depends}
Description: LibUCW development files
+Package: libucw-utils
+Section: misc
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: LibUCW utilities
+
Package: libucw-doc
+Section: doc
Architecture: all
-Depends: ${shlib:Depends}, ${misc:Depeneds}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: LibUCW documentation
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/libucw-$(UCW_ABI_VERSION) $(addprefix install-,libucw libucw-charset libucw-xml libucw-images)
$(MAKE) DESTDIR=$(CURDIR)/debian/libucw-dev $(addprefix install-,$(addsuffix -api,libucw libucw-charset libucw-xml libucw-images))
+ $(MAKE) DESTDIR=$(CURDIR)/debian/libucw-utils install-ucw-utils install-ucw-shell install-libucw-images-utils
$(MAKE) DESTDIR=$(CURDIR)/debian/libucw-doc install-libucw-docs
binary-indep: build install
$(o)/images/.include-stamp: IDST=images
run/lib/pkgconfig/libucw-images.pc: $(o)/images/libucw-images.pc
-INSTALL_TARGETS+=install-libucw-images install-libucw-images-api
+INSTALL_TARGETS+=install-libucw-images install-libucw-images-api install-libucw-images-utils
install-libucw-images:
- install -d -m 755 $(addprefix $(DESTDIR),$(INSTALL_BIN_DIR) $(INSTALL_LIB_DIR) $(INSTALL_CONFIG_DIR))
- install -m 755 $(LIBIMAGES_PROGS) $(DESTDIR)$(INSTALL_BIN_DIR)
- install -m 644 $(addprefix run/$(CONFIG_DIR)/,$(LIBIMAGES_CONFIGS)) $(DESTDIR)$(INSTALL_CONFIG_DIR)
+ install -d -m 755 $(DESTDIR)$(INSTALL_LIB_DIR)
install -m 644 run/lib/libucw-images.so.$(UCW_ABI_VERSION) $(DESTDIR)$(INSTALL_LIB_DIR)
install-libucw-images-api:
ln -sf libucw-images.so.$(UCW_ABI_VERSION) $(DESTDIR)$(INSTALL_LIB_DIR)/libucw-images.so
install -m 644 run/lib/libucw-images.a $(DESTDIR)$(INSTALL_LIB_DIR)
install -m 644 run/lib/libucw-images-pic.a $(DESTDIR)$(INSTALL_LIB_DIR)
+ #install -d -m 755 $(DESTDIR)$(INSTALL_CONFIG_DIR)
+ #install -m 644 $(addprefix run/$(CONFIG_DIR)/,$(LIBIMAGES_CONFIGS)) $(DESTDIR)$(INSTALL_CONFIG_DIR)
+
+install-libucw-images-utils:
+ install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR)
+ install -m 755 $(LIBIMAGES_PROGS) $(DESTDIR)$(INSTALL_BIN_DIR)
-.PHONY: install-libucw-images install-libucw-images-api
+.PHONY: install-libucw-images install-libucw-images-api install-libucw-images-utils
INSTALL_TARGETS+=install-libucw install-libucw-api
install-libucw:
- install -d -m 755 $(DESTDIR)$(INSTALL_LIB_DIR) $(DESTDIR)$(INSTALL_CONFIG_DIR)
+ install -d -m 755 $(DESTDIR)$(INSTALL_LIB_DIR)
install -m 644 run/lib/libucw.so.$(UCW_ABI_VERSION) $(DESTDIR)$(INSTALL_LIB_DIR)/
- install -m 644 run/$(CONFIG_DIR)/libucw $(DESTDIR)$(INSTALL_CONFIG_DIR)
install-libucw-api:
install -d -m 755 $(DESTDIR)$(INSTALL_LIB_DIR) $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/ $(DESTDIR)$(INSTALL_PKGCONFIG_DIR)
ln -sf libucw.so.$(UCW_ABI_VERSION) $(DESTDIR)$(INSTALL_LIB_DIR)/libucw.so
install -m 644 run/lib/libucw.a $(DESTDIR)$(INSTALL_LIB_DIR)
install -m 644 run/lib/libucw-pic.a $(DESTDIR)$(INSTALL_LIB_DIR)
+ #install -d -m 755 $(DESTDIR)$(INSTALL_CONFIG_DIR)
+ #install -m 644 run/$(CONFIG_DIR)/libucw $(DESTDIR)$(INSTALL_CONFIG_DIR)
.PHONY: install-libucw install-libucw-api