denkn exherbo repo. initial: app-arch/pax

This commit is contained in:
Denis Knauf 2012-08-15 20:48:57 +02:00
commit 88682c2c77
9 changed files with 161 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# Copyright 2009 Mike Kelly <pioto@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
# This exlib is useful for packages whose upstream is Debian. It'll do
# 'the right thing' for DOWNLOADS
myexparam debian_pn=${PN}
myexparam debian_pv=${PV}
myexparam suffix=.tar.gz
DEBIAN_UPSTREAM_PN=$(exparam debian_pn)
DEBIAN_UPSTREAM_PV=$(exparam debian_pv)
DEBIAN_UPSTREAM_PREFIX="${DEBIAN_UPSTREAM_PN:0:1}"
if [[ "${DEBIAN_UPSTREAM_PN}" == lib* ]]; then
DEBIAN_UPSTREAM_PREFIX="${DEBIAN_UPSTREAM_PN:0:4}"
fi
DOWNLOADS="mirror://debian/pool/main/${DEBIAN_UPSTREAM_PREFIX}/${DEBIAN_UPSTREAM_PN}/${DEBIAN_UPSTREAM_PN}_${DEBIAN_UPSTREAM_PV}$(exparam suffix)"

4
metadata/about.conf Normal file
View file

@ -0,0 +1,4 @@
summary=local
homepage=nohomepage
owner=Denis Knauf <Denis,Knauf@gmail.com>
status=third-party

1
metadata/categories.conf Normal file
View file

@ -0,0 +1 @@
app-arch

59
metadata/mirrors.conf Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,40 @@
# 2012 Denis Knauf
# $OpenBSD: Makefile,v 1.10 2001/05/26 00:32:20 millert Exp $
# To install on versions prior to BSD 4.4 the following may have to be
# defined with CFLAGS +=
#
# -DLONG_OFF_T Define this if the base type of an off_t is a long (and is
# NOT a quad). (This is often defined in the file
# /usr/include/sys/types.h).
# This define is important, as if you do have a quad_t
# off_t and define LONG_OFF_T, pax will compile but will
# NOT RUN PROPERLY.
#
PROG= pax
SRCS= ar.c buf_subs.c file_subs.c getoldopt.c pax.c tar.c \
ar_io.c cache.c ftree.c options.c sel_subs.c tty_subs.c \
ar_subs.c cpio.c gen_subs.c pat_rep.c tables.c
OBJS= $(SRCS:.c=.o)
MAN= pax.1
CFLAGS= -Wall -O2 -g\
-DNET2_STAT -D_PATH_DEFTAPE=\"/dev/rmt0\" -DDEBIAN -D_GNU_SOURCE
prefix=/usr
pax: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $@ $(LIBS)
clean:
$(RM) *.o
realclean: clean
$(RM) $(PROG)
install:
install -d $(DESTDIR)$(prefix)/bin $(DESTDIR)$(prefix)/share/man/man1
install -s $(PROG) $(DESTDIR)$(prefix)/bin
install $(MAN) $(DESTDIR)$(prefix)/share/man/man1

View file

@ -0,0 +1,35 @@
# Copyright 2012 Denis Knauf
# Distributed under the terms of the GNU General Public License v2
require debian-upstream [ suffix=.orig.tar.gz ]
SUMMARY="Portable Archive Interchange"
LICENCES="( as-is )"
SLOT="0"
PLATFORMS="~amd64 ~arm ~ia64 ~ppc64 ~x86"
MYOPTIONS=""
DEPENDENCIES=""
DEFAULT_SRC_CONFIGURE_PARAMS=( --bindir=/bin )
DEFAULT_SRC_INSTALL_EXTRA_DOCS=( PORTS )
WORK=${WORKBASE}/${PN}-${PV}
src_unpack() {
default
cp "${FILES}/Makefile" "${WORK}"
}
src_configure() {
default
}
src_compile() {
emake pax
}
src_install() {
default
}

1
profiles/amd64/parent Normal file
View file

@ -0,0 +1 @@
..

0
profiles/layout.conf Normal file
View file

1
profiles/repo_name Normal file
View file

@ -0,0 +1 @@
denkn