Revision: 5478
Author: pebender
Date: Mon Sep 14 14:39:51 2009
Log: - Cleaned up Makefile for utils/squashfs.


http://code.google.com/p/minimyth/source/detail?r=5478

Modified:
  /trunk/gar-minimyth/script/utils/squashfs/Makefile

=======================================
--- /trunk/gar-minimyth/script/utils/squashfs/Makefile  Sat Jun 13 12:24:28  
2009
+++ /trunk/gar-minimyth/script/utils/squashfs/Makefile  Mon Sep 14 14:39:51  
2009
@@ -2,7 +2,7 @@
  GARVERSION = 4.0
  CATEGORIES = lib
  MASTER_SITES = http://easynews.dl.sourceforge.net/sourceforge/$(GARNAME)/
-DISTFILES = $(DISTNAME).tar.gz
+DISTFILES = $(GARNAME)$(GARVERSION).tar.gz
  PATCHFILES =
  LICENSE = GPL2

@@ -12,23 +12,21 @@

  DEPENDS = lang/c lib/zlib

-DISTNAME = $(GARNAME)$(GARVERSION)
-WORKSRC  = $(WORKDIR)/$(DISTNAME)/squashfs-tools
-
-BUILD_SCRIPTS   = $(WORKSRC)/Makefile
-INSTALL_SCRIPTS = custom
-
-BUILD_ARGS = \
+WORKSRC  = $(WORKDIR)/$(GARNAME)$(GARVERSION)
+
+BUILD_SCRIPTS   = $(WORKSRC)/squashfs-tools/Makefile
+INSTALL_SCRIPTS = $(WORKSRC)/squashfs-tools/Makefile
+
+BUILD_ARGS   = \
        CFLAGS="$(CFLAGS)"
+INSTALL_ARGS = \
+       INSTALL_DIR=$(DESTDIR)$(bindir)

  include ../../gar.mk

  CFLAGS := $(CFLAGS) -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  
-D_GNU_SOURCE

-install-custom:
-       @mkdir -p $(DESTDIR)$(bindir)
+pre-install:
        @rm -f $(DESTDIR)$(bindir)/mksquashfs
-       @cp $(WORKSRC)/mksquashfs $(DESTDIR)$(bindir)/mksquashfs
        @rm -f $(DESTDIR)$(bindir)/unsquashfs
-       @cp $(WORKSRC)/unsquashfs $(DESTDIR)$(bindir)/unsquashfs
        @$(MAKECOOKIE)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to