tabs->4spaces. deps-sorting. pax: gcc->$CC
parent
eb02dc0370
commit
ff1e779c20
|
@ -1,4 +1,4 @@
|
||||||
summary=local
|
summary=DenKn: exhereses
|
||||||
homepage=https://github.com/DenisKnauf/exherbo-denkn
|
homepage=https://github.com/DenisKnauf/exherbo-denkn
|
||||||
owner=Denis Knauf <Denis.Knauf@gmail.com>
|
owner=Denis Knauf <Denis.Knauf@gmail.com>
|
||||||
status=third-party
|
status=third-party
|
||||||
|
|
|
@ -12,14 +12,14 @@ PLATFORMS="~amd64 ~x86"
|
||||||
DEPENDENCIES=""
|
DEPENDENCIES=""
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
# Makefile says:
|
# Makefile says:
|
||||||
# # -DLONG_OFF_T The base type of off_t is a long, not a long long.
|
# # -DLONG_OFF_T The base type of off_t is a long, not a long long.
|
||||||
# # This is often defined in: /usr/include/sys/types.h
|
# # This is often defined in: /usr/include/sys/types.h
|
||||||
edo gcc -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c
|
edo $CC -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin pax
|
dobin pax
|
||||||
doman pax.1
|
doman pax.1
|
||||||
emagicdocs
|
emagicdocs
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,8 +13,8 @@ MYOPTIONS=""
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
sys-apps/paludis
|
|
||||||
dev-lang/ruby[>=1.9]
|
dev-lang/ruby[>=1.9]
|
||||||
|
sys-apps/paludis
|
||||||
"
|
"
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|
|
@ -15,11 +15,11 @@ MYOPTIONS=""
|
||||||
WORK=${WORKBASE}/${AN}
|
WORK=${WORKBASE}/${AN}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
env
|
env
|
||||||
econf --libdir="/usr/${LIBDIR}"
|
econf --libdir="/usr/${LIBDIR}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
keepdir /usr/${LIBDIR}/swipl-${PV}/library/dialect/ifprolog
|
keepdir /usr/${LIBDIR}/swipl-${PV}/library/dialect/ifprolog
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,9 @@ SLOT="0"
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
group/tinyproxy
|
app-doc/asciidoc
|
||||||
user/tinyproxy
|
group/tinyproxy
|
||||||
app-doc/asciidoc
|
user/tinyproxy
|
||||||
"
|
"
|
||||||
# PID-file will be created in /var/run, but /var/run is a link to /run.
|
# PID-file will be created in /var/run, but /var/run is a link to /run.
|
||||||
# in future, tinyproxy needs an other config, that it uses /run.
|
# in future, tinyproxy needs an other config, that it uses /run.
|
||||||
|
@ -21,33 +21,33 @@ DEFAULT_SRC_CONFIGURE_PARAMS="--localstatedir=/var"
|
||||||
MYOPTIONS="systemd"
|
MYOPTIONS="systemd"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
c="etc/tinyproxy.conf.in"
|
c="etc/tinyproxy.conf.in"
|
||||||
b="${c}.bk"
|
b="${c}.bk"
|
||||||
if option systemd
|
if option systemd
|
||||||
then
|
then
|
||||||
sed -e 's,^#PidFile.*,&\
|
sed -e 's,^#PidFile.*,&\
|
||||||
#\
|
#\
|
||||||
# systemd wants all pidfiles in /run.\
|
# systemd wants all pidfiles in /run.\
|
||||||
# Do not change the following line:\
|
# Do not change the following line:\
|
||||||
PidFile "/run/tinyproxy/tinyproxy.pid",'
|
PidFile "/run/tinyproxy/tinyproxy.pid",'
|
||||||
else
|
else
|
||||||
cat
|
cat
|
||||||
fi < "${c}" > "${b}"
|
fi < "${c}" > "${b}"
|
||||||
sed \
|
sed \
|
||||||
-e 's/^User nobody/User tinyproxy/' \
|
-e 's/^User nobody/User tinyproxy/' \
|
||||||
-e 's/^Group nobody/Group tinyproxy/' \
|
-e 's/^Group nobody/Group tinyproxy/' \
|
||||||
< "${b}" > "${c}"
|
< "${b}" > "${c}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
keepdir /var/log/tinyproxy
|
keepdir /var/log/tinyproxy
|
||||||
if option systemd
|
if option systemd
|
||||||
then
|
then
|
||||||
install_systemd_files
|
install_systemd_files
|
||||||
insinto /usr/${LIBDIR}/tmpfiles.d
|
insinto /usr/${LIBDIR}/tmpfiles.d
|
||||||
hereins tinyproxy.conf <<EOF
|
hereins tinyproxy.conf <<EOF
|
||||||
d /run/tinyproxy 0770 tinyproxy tinyproxy
|
d /run/tinyproxy 0770 tinyproxy tinyproxy
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,8 @@ LICENCES="GPL-2"
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
sys-fs/xfsprogs
|
sys-fs/xfsprogs
|
||||||
"
|
"
|
||||||
DEFAULT_SRC_INSTALL_PARAMS+=( DIST_ROOT="${IMAGE}" )
|
DEFAULT_SRC_INSTALL_PARAMS+=( DIST_ROOT="${IMAGE}" )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue