heme: initial import
This commit is contained in:
parent
5a460ff444
commit
a0048d5cf8
6
heme/.footprint
Normal file
6
heme/.footprint
Normal file
@ -0,0 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/heme
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/heme.1.gz
|
2
heme/.md5sum
Normal file
2
heme/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
1028d5e2316d6cc8d35b5f41afe31804 heme-0.4.2-Makefile.diff
|
||||
e2eb876c8450a3b5693ba1887433bc15 heme-0.4.2.tar.gz
|
17
heme/Pkgfile
Normal file
17
heme/Pkgfile
Normal file
@ -0,0 +1,17 @@
|
||||
# Description: A portable console hex editor
|
||||
# URL: http://heme.sourceforge.net/
|
||||
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
||||
# Depends on:
|
||||
|
||||
name=heme
|
||||
version=0.4.2
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/heme/$name-$version.tar.gz\
|
||||
$name-$version-Makefile.diff)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -i ../$name-$version-Makefile.diff
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
22
heme/heme-0.4.2-Makefile.diff
Normal file
22
heme/heme-0.4.2-Makefile.diff
Normal file
@ -0,0 +1,22 @@
|
||||
diff -Nru heme-0.4.2-orig/Makefile heme-0.4.2/Makefile
|
||||
--- heme-0.4.2-orig/Makefile 2006-11-23 00:24:17.000000000 +0200
|
||||
+++ heme-0.4.2/Makefile 2007-01-02 17:27:49.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
-INSTALL_PREFIX = /usr/local
|
||||
-CFLAGS = -Wall -DHAVE_MMAP # remove -DHAVE_MMAP if you don't have mmap
|
||||
+INSTALL_PREFIX = /usr
|
||||
+CFLAGS += -Wall -DHAVE_MMAP
|
||||
LDFLAGS = -lcurses
|
||||
OBJECTS = heme.o xmalloc.o error.o pconfig.o pgetopt.o
|
||||
TARGET = heme
|
||||
@@ -11,8 +11,8 @@
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
install: $(TARGET)
|
||||
- install -s -m 0755 $(TARGET) $(INSTALL_PREFIX)/bin
|
||||
- install -m 0644 heme.1 $(INSTALL_PREFIX)/man/man1
|
||||
+ install -D -m 0755 $(TARGET) $(DESTDIR)$(INSTALL_PREFIX)/bin/$(TARGET)
|
||||
+ install -D -m 0644 heme.1 $(DESTDIR)$(INSTALL_PREFIX)/man/man1/heme.1
|
||||
|
||||
uninstall:
|
||||
rm -f $(INSTALL_PREFIX)/bin/$(TARGET)
|
Loading…
x
Reference in New Issue
Block a user