create core package
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
Index: ncompress-4.2.4.4/Makefile.def
|
||||
===================================================================
|
||||
--- ncompress-4.2.4.4.orig/Makefile.def
|
||||
+++ ncompress-4.2.4.4/Makefile.def
|
||||
@@ -1,16 +1,16 @@
|
||||
# Makefile generated by build.
|
||||
|
||||
# C complier
|
||||
-#CC=cc
|
||||
+#CC=
|
||||
|
||||
# Install prefix
|
||||
DESTDIR=
|
||||
|
||||
# Install directory for binarys
|
||||
-BINDIR=/usr/local/bin
|
||||
+BINDIR=/usr/bin
|
||||
|
||||
# Install directory for manual
|
||||
-MANDIR=/usr/local/man/man1
|
||||
+MANDIR=/usr/share/man/man1
|
||||
|
||||
# compiler options:
|
||||
# options is a collection of:
|
||||
@@ -31,14 +31,14 @@ MANDIR=/usr/local/man/man1
|
||||
# -DDEF_ERRNO=1 Define error (not defined in errno.h).
|
||||
# -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
|
||||
#
|
||||
-options= $(CFLAGS) $(CPPFLAGS) -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3
|
||||
+options= $(CFLAGS) $(CPPFLAGS) -DDIRENT=1 -DSYSDIR=1 -DUTIME_H=1 -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZE=1024 -DOBUFSIZE=1024
|
||||
|
||||
# libary options
|
||||
LBOPT= $(LDFLAGS)
|
||||
|
||||
|
||||
compress: Makefile compress42.c patchlevel.h
|
||||
- $(CC) -o compress $(options) "-DCOMPILE_DATE=\"`date`\"" compress42.c $(LBOPT)
|
||||
+ $(CC) $(LDFLAGS) $(options) "-DCOMPILE_DATE=\"`date`\"" compress42.c -o compress
|
||||
|
||||
install: compress
|
||||
[ -f $(DESTDIR)$(BINDIR)/compress ] && \
|
||||
Reference in New Issue
Block a user