aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dhex
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-03 06:19:04 +0000
commit6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07 (patch)
tree1f70b259fe7fb5c82f437c6b006284893cf4eb5a /testing/dhex
parent66765c30ac7a9c9a560ab43d5618de820fb373c6 (diff)
downloadaports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.bz2
aports-6f1dc21bd4e8ae7ef0d7afce465b2bc15d0ffa07.tar.xz
testing/*: removed
We dont ship testing things in a stable release
Diffstat (limited to 'testing/dhex')
-rw-r--r--testing/dhex/APKBUILD41
-rw-r--r--testing/dhex/makefile.patch49
2 files changed, 0 insertions, 90 deletions
diff --git a/testing/dhex/APKBUILD b/testing/dhex/APKBUILD
deleted file mode 100644
index d205c47842..0000000000
--- a/testing/dhex/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=dhex
-pkgver=0.66
-pkgrel=0
-pkgdesc="Ncurses hex editor"
-url="http://www.dettus.net/dhex/"
-arch="all"
-license="GPL"
-depends=""
-makedepends="ncurses-dev"
-install=""
-subpackages="$pkgname-doc"
-source="http://www.dettus.net/dhex/dhex_0.66.tar.gz
- makefile.patch"
-
-_builddir="$srcdir"/dhex_$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- make
-}
-
-package() {
- cd "$_builddir"
- make install DESTDIR="$pkgdir" \
- mandir=/usr/share/man \
- prefix=/usr/bin
-}
-
-md5sums="304a91cfd9481b2ddf418f3a943190e1 dhex_0.66.tar.gz
-de16e09d3b416650d84ef39235cd2917 makefile.patch"
diff --git a/testing/dhex/makefile.patch b/testing/dhex/makefile.patch
deleted file mode 100644
index 9e7788b409..0000000000
--- a/testing/dhex/makefile.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- ./Makefile.orig
-+++ ./Makefile
-@@ -1,12 +1,22 @@
--CC= gcc
--LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
-+CC?= gcc
-+LDFLAGS?= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
- CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses
--CFLAGS= -O3 -Wall -std=c99
-+CFLAGS?= -O3 -Wall -std=c99
- #CFLAGS+= -ffunction-sections -fdata-sections
- #LDFLAGS+= --gc-sections
- LIBS= -lncurses
--DESTDIR= /usr/local/
-
-+prefix= /usr/local
-+bindir= $(prefix)/bin
-+mandir= $(prefix)/man
-+man1dir= $(mandir)/man1
-+man5dir= $(mandir)/man5
-+DESTDIR=
-+
-+MKDIR_P= install -d
-+INSTALL= install
-+
-+
- OFILES=buffers.o \
- configfile.o \
- correlation.o \
-@@ -27,14 +37,11 @@
- $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
-
- install:all
-- strip dhex
-- cp dhex $(DESTDIR)/bin
-- cp dhex.1 $(DESTDIR)/man/man1
-- cp dhexrc.5 $(DESTDIR)/man/man5
-- cp dhex_markers.5 $(DESTDIR)/man/man5
-- cp dhex_searchlog.5 $(DESTDIR)/man/man5
--
--
-+ $(MKDIR_P) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir)
-+ $(INSTALL) -m755 dhex $(DESTDIR)$(bindir)
-+ $(INSTALL) -m644 dhex.1 $(DESTDIR)$(man1dir)
-+ $(INSTALL) -m644 dhexrc.5 dhex_markers.5 dhex_searchlog.5 \
-+ $(DESTDIR)$(man5dir)
-
- .c.o:
- $(CC) $< -c -I. $(CPPFLAGS) $(CFLAGS) $(OPTIONS)