]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
cups: Cleanup makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Feb 2010 21:15:38 +0000 (22:15 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Feb 2010 21:15:38 +0000 (22:15 +0100)
Add dependencies.
Fix installation of files.

pkgs/core/cups/cups.nm

index f8ac693e7a58be2adfcb90b451f4e17c178ab49d..54c0b93577bd3d8ce35b98dce316470508a20c03 100644 (file)
@@ -34,7 +34,7 @@ PKG_URL        = http://cups.org/software.php
 PKG_LICENSE    = GPLv2+
 PKG_SUMMARY    = The common UNIX printing system.
 
-PKG_DEPS      += cyrus-sasl ghostscript libjpeg libtiff openldap
+PKG_DEPS      += cyrus-sasl ghostscript libjpeg libpng libtiff openldap pam perl python zlib
 
 define PKG_DESCRIPTION
        CUPS is the standards-based, open source printing system developed \
@@ -44,15 +44,15 @@ endef
 PKG_TARBALL    = $(THISAPP)-source.tar.bz2
 
 CONFIGURE_OPTIONS += \
-               --sysconfdir=/etc \
-               --localstatedir=/var \
-               --disable-static
+       --sysconfdir=/etc \
+       --localstatedir=/var
+
+define STAGE_INSTALL
+       cd $(DIR_APP) && make install BUILDROOT=$(BUILDROOT)
 
-define STAGE_INSTALL_CMDS
        # Remove sysvinit scripts
        rm -vfr $(BUILDROOT)/etc/init.d/cups $(BUILDROOT)/etc/rc*.d
 
        -mkdir -pv $(BUILDROOT)/etc/cups
        cp -vf $(DIR_APP)/conf/cupsd.conf $(BUILDROOT)/etc/cups/
 endef
-