forked from hasufell/hasufell-repository
Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
41d42bb715 | |||
4152cb1e6b | |||
1322e7f9e3 | |||
0c9cc0b012 | |||
c83f773c70 | |||
2cb534ada2 | |||
89270c2e37 | |||
c920cd46d8 | |||
46664464fd | |||
ac4cd3ffac | |||
4b0958bf38 | |||
157ce5f5a4 | |||
e0df2ad168 | |||
61bc976426 | |||
1ffcd771bc | |||
6370389a0b | |||
3e69a618a9 | |||
92a0bcce82 | |||
5578c3c81c | |||
a8aeaf6e85 | |||
b8752b6986 | |||
fbb5d28eb4 | |||
476aa72a93 | |||
01d4e4f6b1 | |||
a538f37eb8 | |||
09c6107d61 | |||
8cfc6c559a | |||
8e4512bfab | |||
bfdcf8cb1d | |||
f22c6853e2 |
@ -18,6 +18,7 @@ dev-ocaml
|
|||||||
dev-perl
|
dev-perl
|
||||||
dev-python
|
dev-python
|
||||||
dev-ruby
|
dev-ruby
|
||||||
|
dev-scm
|
||||||
dev-tcl
|
dev-tcl
|
||||||
dev-util
|
dev-util
|
||||||
games-action
|
games-action
|
||||||
@ -49,6 +50,7 @@ sci-mathematics
|
|||||||
sys-apps
|
sys-apps
|
||||||
sys-boot
|
sys-boot
|
||||||
sys-process
|
sys-process
|
||||||
|
virtual
|
||||||
voip
|
voip
|
||||||
www-apps
|
www-apps
|
||||||
www-servers
|
www-servers
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
SUMMARY="cabal-install is the command line interface to Cabal and hackage"
|
SUMMARY="cabal-install is the command line interface to Cabal and hackage"
|
||||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
HOMEPAGE="https://www.haskell.org/cabal/"
|
||||||
DOWNLOADS="https://www.haskell.org/cabal/release/cabal-install-${PV}/cabal-install-${PV}-x86_64-unknown-linux.tar.gz"
|
DOWNLOADS="https://downloads.haskell.org/~debian/pool/main/c/cabal-install-2.4/cabal-install-2.4_2.4%2Bgit20180920.1.60e200d-6~deb9_amd64.deb"
|
||||||
|
|
||||||
LICENCES="BSD-3"
|
LICENCES="BSD-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -12,7 +12,7 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
dev-lang/ghc-bin
|
virtual/GHC
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
!dev-haskell/cabal-install [[
|
!dev-haskell/cabal-install [[
|
||||||
description = [ Both install the same binary ]
|
description = [ Both install the same binary ]
|
||||||
@ -24,7 +24,13 @@ BUGS_TO="hasufell@posteo.de"
|
|||||||
|
|
||||||
WORK=${WORKBASE}
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
src_install() {
|
src_unpack() {
|
||||||
dobin cabal
|
default
|
||||||
|
unpack ./data.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin opt/cabal/2.4/bin/cabal
|
||||||
|
doman opt/cabal/2.4/share/man/man1/*
|
||||||
}
|
}
|
||||||
|
|
@ -16,8 +16,8 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
dev-lang/ghc-bin
|
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
|
virtual/GHC
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
@ -22,7 +22,7 @@ HOMEPAGE="https://www.haskell.org/ghc/"
|
|||||||
DOWNLOADS="
|
DOWNLOADS="
|
||||||
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-src.tar.xz
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-src.tar.xz
|
||||||
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||||
https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-deb7-linux.tar.xz
|
https://hawkings.mailstation.de/~hasufell/ghc-${PV}-x86_64-unknown-linux.tar.xz
|
||||||
"
|
"
|
||||||
|
|
||||||
PLATFORMS="-* ~amd64"
|
PLATFORMS="-* ~amd64"
|
||||||
@ -46,12 +46,10 @@ RESTRICT="test"
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build:
|
build:
|
||||||
dev-libs/libxslt[>=1.1.2]
|
|
||||||
dev-python/Sphinx
|
dev-python/Sphinx
|
||||||
build+run:
|
build+run:
|
||||||
dev-lang/perl:*[>=5.6.1]
|
dev-lang/perl:*[>=5.6.1]
|
||||||
dev-libs/gmp:=[>=5]
|
dev-libs/gmp:=[>=5]
|
||||||
dev-libs/libedit
|
|
||||||
dev-libs/libffi
|
dev-libs/libffi
|
||||||
llvm? ( dev-lang/llvm[>=2.7] )
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
@ -61,7 +59,7 @@ DEPENDENCIES="
|
|||||||
WORK=${WORKBASE}/${MY_PNV}
|
WORK=${WORKBASE}/${MY_PNV}
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
unpack ghc-${PV}-x86_64-deb7-linux.tar.xz
|
unpack ghc-${PV}-x86_64-unknown-linux.tar.xz
|
||||||
edo mv "${WORK}" "${WORK}-pre"
|
edo mv "${WORK}" "${WORK}-pre"
|
||||||
unpack ${MY_PNV}-src.tar.xz
|
unpack ${MY_PNV}-src.tar.xz
|
||||||
unpack ${MY_PNV}-testsuite.tar.xz
|
unpack ${MY_PNV}-testsuite.tar.xz
|
||||||
@ -69,7 +67,6 @@ src_unpack() {
|
|||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# prepare pre-built ghc
|
# prepare pre-built ghc
|
||||||
# we are not building, shut up already
|
|
||||||
edo mkdir "${TEMP}"/bin
|
edo mkdir "${TEMP}"/bin
|
||||||
edo ln -s /usr/$(exhost --target)/bin/$(exhost --tool-prefix)ar "${TEMP}/bin/ar"
|
edo ln -s /usr/$(exhost --target)/bin/$(exhost --tool-prefix)ar "${TEMP}/bin/ar"
|
||||||
edo ln -s /usr/$(exhost --target)/bin/true "${TEMP}"/bin/strip
|
edo ln -s /usr/$(exhost --target)/bin/true "${TEMP}"/bin/strip
|
||||||
@ -164,14 +161,19 @@ src_install() {
|
|||||||
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||||
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||||
|
|
||||||
# alternatives for manpages
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
local file alternatives=()
|
local file alternatives=()
|
||||||
for file in "${IMAGE}"/usr/share/man/*/*; do
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
alternatives+=(
|
alternatives+=(
|
||||||
${file#${IMAGE}}
|
${file#${IMAGE}}
|
||||||
${file#${IMAGE}}-${SLOT}
|
${file#${IMAGE}}-${SLOT}
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test_expensive() {
|
src_test_expensive() {
|
179
packages/dev-lang/GHC/GHC-8.4.3-r1.exheres-0
Normal file
179
packages/dev-lang/GHC/GHC-8.4.3-r1.exheres-0
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
# Copyright 2008 Santiago M. Mola
|
||||||
|
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||||
|
# Copyright 2011 Markus Rothe
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
|
||||||
|
MY_PN="ghc"
|
||||||
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
|
MY_PNVR="${MY_PN}-${PVR}"
|
||||||
|
|
||||||
|
require bash-completion flag-o-matic alternatives
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||||
|
DESCRIPTION="
|
||||||
|
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||||
|
language Haskell.
|
||||||
|
"
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||||
|
DOWNLOADS="
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-src.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
|
||||||
|
BUGS_TO=""
|
||||||
|
REMOTE_IDS="freecode:${MY_PN}"
|
||||||
|
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="${PV}"
|
||||||
|
MYOPTIONS="
|
||||||
|
doc
|
||||||
|
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||||
|
# case of unexpected failures. There are always unexpected failures.
|
||||||
|
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||||
|
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-python/Sphinx
|
||||||
|
build+run:
|
||||||
|
dev-lang/perl:*[>=5.6.1]
|
||||||
|
dev-libs/gmp:=[>=5]
|
||||||
|
dev-libs/libffi
|
||||||
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
|
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${MY_PNV}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ghc-${PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
edo mv "${WORK}" "${WORK}-pre"
|
||||||
|
unpack ${MY_PNV}-src.tar.xz
|
||||||
|
unpack ${MY_PNV}-testsuite.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# prepare pre-built ghc
|
||||||
|
edo pushd "${WORK}-pre"
|
||||||
|
edo ./configure \
|
||||||
|
--prefix="${TEMP}/ghc-pre" \
|
||||||
|
--target=$(exhost --target)
|
||||||
|
emake install
|
||||||
|
edo popd
|
||||||
|
|
||||||
|
autotools_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Initialize build.mk
|
||||||
|
echo '# Exherbo changes' > mk/build.mk
|
||||||
|
|
||||||
|
cat <<EOF >> mk/build.mk
|
||||||
|
# Put docs into the right place
|
||||||
|
docdir = /usr/share/doc/${MY_PNVR}
|
||||||
|
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if option doc; then
|
||||||
|
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=( --with-ghc=${TEMP}/ghc-pre/bin/ghc )
|
||||||
|
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||||
|
|
||||||
|
if option llvm; then
|
||||||
|
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||||
|
--with-system-libffi
|
||||||
|
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||||
|
)
|
||||||
|
|
||||||
|
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||||
|
# cross-compilation.
|
||||||
|
econf \
|
||||||
|
AR=${AR} \
|
||||||
|
CC=${CC} \
|
||||||
|
--target=$(exhost --target) \
|
||||||
|
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||||
|
# containing only LICENSE files
|
||||||
|
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||||
|
|
||||||
|
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||||
|
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||||
|
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||||
|
|
||||||
|
# some scripts are not versioned, move
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||||
|
|
||||||
|
# remove unversioned symlinks, we create alternatives later
|
||||||
|
local ghc_bin
|
||||||
|
for ghc_bin in ghc ghci ghc-pkg $(optionq doc && echo "haddock") runghc runhaskell ; do
|
||||||
|
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||||
|
done
|
||||||
|
unset ghc_bin
|
||||||
|
|
||||||
|
# create alternatives for scripts/binaries
|
||||||
|
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||||
|
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||||
|
$(optionq doc && echo "/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}}") \
|
||||||
|
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||||
|
|
||||||
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
|
local file alternatives=()
|
||||||
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
|
${file#${IMAGE}}
|
||||||
|
${file#${IMAGE}}-${SLOT}
|
||||||
|
)
|
||||||
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test_expensive() {
|
||||||
|
emake fulltest
|
||||||
|
}
|
||||||
|
|
179
packages/dev-lang/GHC/GHC-8.4.4.exheres-0
Normal file
179
packages/dev-lang/GHC/GHC-8.4.4.exheres-0
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
# Copyright 2008 Santiago M. Mola
|
||||||
|
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||||
|
# Copyright 2011 Markus Rothe
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
|
||||||
|
MY_PN="ghc"
|
||||||
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
|
MY_PNVR="${MY_PN}-${PVR}"
|
||||||
|
|
||||||
|
require bash-completion flag-o-matic alternatives
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||||
|
DESCRIPTION="
|
||||||
|
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||||
|
language Haskell.
|
||||||
|
"
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||||
|
DOWNLOADS="
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-src.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
|
||||||
|
BUGS_TO=""
|
||||||
|
REMOTE_IDS="freecode:${MY_PN}"
|
||||||
|
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="${PV}"
|
||||||
|
MYOPTIONS="
|
||||||
|
doc
|
||||||
|
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||||
|
# case of unexpected failures. There are always unexpected failures.
|
||||||
|
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||||
|
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-python/Sphinx
|
||||||
|
build+run:
|
||||||
|
dev-lang/perl:*[>=5.6.1]
|
||||||
|
dev-libs/gmp:=[>=5]
|
||||||
|
dev-libs/libffi
|
||||||
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
|
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${MY_PNV}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ghc-${PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
edo mv "${WORK}" "${WORK}-pre"
|
||||||
|
unpack ${MY_PNV}-src.tar.xz
|
||||||
|
unpack ${MY_PNV}-testsuite.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# prepare pre-built ghc
|
||||||
|
edo pushd "${WORK}-pre"
|
||||||
|
edo ./configure \
|
||||||
|
--prefix="${TEMP}/ghc-pre" \
|
||||||
|
--target=$(exhost --target)
|
||||||
|
emake install
|
||||||
|
edo popd
|
||||||
|
|
||||||
|
autotools_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Initialize build.mk
|
||||||
|
echo '# Exherbo changes' > mk/build.mk
|
||||||
|
|
||||||
|
cat <<EOF >> mk/build.mk
|
||||||
|
# Put docs into the right place
|
||||||
|
docdir = /usr/share/doc/${MY_PNVR}
|
||||||
|
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if option doc; then
|
||||||
|
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=( --with-ghc=${TEMP}/ghc-pre/bin/ghc )
|
||||||
|
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||||
|
|
||||||
|
if option llvm; then
|
||||||
|
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||||
|
--with-system-libffi
|
||||||
|
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||||
|
)
|
||||||
|
|
||||||
|
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||||
|
# cross-compilation.
|
||||||
|
econf \
|
||||||
|
AR=${AR} \
|
||||||
|
CC=${CC} \
|
||||||
|
--target=$(exhost --target) \
|
||||||
|
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||||
|
# containing only LICENSE files
|
||||||
|
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||||
|
|
||||||
|
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||||
|
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||||
|
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||||
|
|
||||||
|
# some scripts are not versioned, move
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||||
|
|
||||||
|
# remove unversioned symlinks, we create alternatives later
|
||||||
|
local ghc_bin
|
||||||
|
for ghc_bin in ghc ghci ghc-pkg $(optionq doc && echo "haddock") runghc runhaskell ; do
|
||||||
|
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||||
|
done
|
||||||
|
unset ghc_bin
|
||||||
|
|
||||||
|
# create alternatives for scripts/binaries
|
||||||
|
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||||
|
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||||
|
$(optionq doc && echo "/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}}") \
|
||||||
|
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||||
|
|
||||||
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
|
local file alternatives=()
|
||||||
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
|
${file#${IMAGE}}
|
||||||
|
${file#${IMAGE}}-${SLOT}
|
||||||
|
)
|
||||||
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test_expensive() {
|
||||||
|
emake fulltest
|
||||||
|
}
|
||||||
|
|
@ -46,12 +46,10 @@ RESTRICT="test"
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build:
|
build:
|
||||||
dev-libs/libxslt[>=1.1.2]
|
|
||||||
dev-python/Sphinx
|
dev-python/Sphinx
|
||||||
build+run:
|
build+run:
|
||||||
dev-lang/perl:*[>=5.6.1]
|
dev-lang/perl:*[>=5.6.1]
|
||||||
dev-libs/gmp:=[>=5]
|
dev-libs/gmp:=[>=5]
|
||||||
dev-libs/libedit
|
|
||||||
dev-libs/libffi
|
dev-libs/libffi
|
||||||
llvm? ( dev-lang/llvm[>=2.7] )
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
@ -161,13 +159,19 @@ src_install() {
|
|||||||
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||||
|
|
||||||
# alternatives for manpages
|
# alternatives for manpages
|
||||||
local file alternatives=()
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
for file in "${IMAGE}"/usr/share/man/*/*; do
|
local file alternatives=()
|
||||||
alternatives+=(
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
${file#${IMAGE}}
|
${file#${IMAGE}}
|
||||||
${file#${IMAGE}}-${SLOT}
|
${file#${IMAGE}}-${SLOT}
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test_expensive() {
|
src_test_expensive() {
|
@ -20,6 +20,10 @@ DEPENDENCIES="
|
|||||||
dev-lang/perl:*[>=5.6.1]
|
dev-lang/perl:*[>=5.6.1]
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
||||||
|
!dev-lang/GHC [[
|
||||||
|
description = [ different provider ]
|
||||||
|
resolution = uninstall-blocked-after
|
||||||
|
]]
|
||||||
!dev-lang/ghc [[
|
!dev-lang/ghc [[
|
||||||
description = [ Both install the same binaries/libs and alternatives ]
|
description = [ Both install the same binaries/libs and alternatives ]
|
||||||
resolution = uninstall-blocked-before
|
resolution = uninstall-blocked-before
|
@ -20,6 +20,10 @@ DEPENDENCIES="
|
|||||||
dev-lang/perl:*[>=5.6.1]
|
dev-lang/perl:*[>=5.6.1]
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
||||||
|
!dev-lang/GHC [[
|
||||||
|
description = [ different provider ]
|
||||||
|
resolution = uninstall-blocked-after
|
||||||
|
]]
|
||||||
!dev-lang/ghc [[
|
!dev-lang/ghc [[
|
||||||
description = [ Both install the same binaries/libs and alternatives ]
|
description = [ Both install the same binaries/libs and alternatives ]
|
||||||
resolution = uninstall-blocked-before
|
resolution = uninstall-blocked-before
|
96
packages/dev-lang/ghc-bin/ghc-bin-8.4.3-r1.exheres-0
Normal file
96
packages/dev-lang/ghc-bin/ghc-bin-8.4.3-r1.exheres-0
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require bash-completion alternatives
|
||||||
|
|
||||||
|
SUMMARY="The Glorious Glasgow Haskell Compilation System"
|
||||||
|
DESCRIPTION="
|
||||||
|
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||||
|
language Haskell."
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||||
|
DOWNLOADS="https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-fedora27-linux.tar.xz"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="${PV}"
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-lang/perl:*[>=5.6.1]
|
||||||
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
|
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
||||||
|
!dev-lang/GHC [[
|
||||||
|
description = [ different provider ]
|
||||||
|
resolution = uninstall-blocked-after
|
||||||
|
]]
|
||||||
|
!dev-lang/ghc [[
|
||||||
|
description = [ Both install the same binaries/libs and alternatives ]
|
||||||
|
resolution = uninstall-blocked-before
|
||||||
|
]]
|
||||||
|
suggestion:
|
||||||
|
dev-haskell/cabal-install-bin [[ description = [ the cabal binary for installing packages ] ]]
|
||||||
|
dev-lang/llvm[>=2.7] [[ description = [ LLVM can be used for code generation and linking ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
REMOTE_IDS="freecode:${PN}"
|
||||||
|
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/ghc-${PV}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--target=$(exhost --target)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# bashcomp
|
||||||
|
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||||
|
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||||
|
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||||
|
|
||||||
|
# some scripts are not versioned, move
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||||
|
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||||
|
|
||||||
|
# remove unversioned symlinks, we create alternatives later
|
||||||
|
local ghc_bin
|
||||||
|
for ghc_bin in ghc ghci ghc-pkg haddock runghc runhaskell ; do
|
||||||
|
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||||
|
done
|
||||||
|
unset ghc_bin
|
||||||
|
|
||||||
|
# create alternatives for scripts/binaries
|
||||||
|
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||||
|
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||||
|
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||||
|
|
||||||
|
# alternatives for manpages
|
||||||
|
local file alternatives=()
|
||||||
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
|
${file#${IMAGE}}
|
||||||
|
${file#${IMAGE}}-${SLOT}
|
||||||
|
)
|
||||||
|
done
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
}
|
@ -24,6 +24,7 @@ MYOPTIONS=""
|
|||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
dev-python/typed-ast[>=1.1.0&<1.2.0][python_abis:*(-)?]
|
dev-python/typed-ast[>=1.1.0&<1.2.0][python_abis:*(-)?]
|
||||||
|
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
|
||||||
python_abis:3.4? (
|
python_abis:3.4? (
|
||||||
dev-python/typing[>=3.5.3][python_abis:3.4]
|
dev-python/typing[>=3.5.3][python_abis:3.4]
|
||||||
)
|
)
|
@ -0,0 +1,17 @@
|
|||||||
|
# Copyright 2018 Alexander Kapshuna <kapsh@kap.sh>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require pypi setup-py [ import=setuptools ]
|
||||||
|
|
||||||
|
SUMMARY="Experimental type system extensions for programs checked with the mypy typechecker"
|
||||||
|
|
||||||
|
LICENCES="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
python_abis:3.4? ( dev-python/typing[>=3.5.3][python_abis:3.4] )
|
||||||
|
"
|
||||||
|
|
@ -16,7 +16,6 @@ DEPENDENCIES="
|
|||||||
build+run:
|
build+run:
|
||||||
dev-python/six[>=1.9.0][python_abis:*(-)?]
|
dev-python/six[>=1.9.0][python_abis:*(-)?]
|
||||||
dev-python/wcwidth[python_abis:*(-)?]
|
dev-python/wcwidth[python_abis:*(-)?]
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
35
packages/dev-scm/git-imerge/git-imerge-1.1.0.exheres-0
Normal file
35
packages/dev-scm/git-imerge/git-imerge-1.1.0.exheres-0
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=mhagger tag="v${PV}" ]
|
||||||
|
require python [ has_bin=true multibuild=false blacklist=2 ]
|
||||||
|
require bash-completion
|
||||||
|
|
||||||
|
SUMMARY="Incremental merge for git"
|
||||||
|
|
||||||
|
LICENCES="GPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
dev-scm/git
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# fix shebang
|
||||||
|
edo sed -i \
|
||||||
|
-e "s:/usr/bin/env python.*$:/usr/$(exhost --target)/bin/env ${PYTHON##*/}:" \
|
||||||
|
${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc README.rst
|
||||||
|
dobashcompletion ${PN}.bashcomplete
|
||||||
|
dobin ${PN}
|
||||||
|
}
|
@ -5,10 +5,9 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require udev-rules
|
require udev-rules github [ user=gentoo tag=${PV} ]
|
||||||
|
|
||||||
HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
|
HOMEPAGE="https://www.gentoo.org/proj/en/base/openrc/"
|
||||||
DOWNLOADS="https://dev.gentoo.org/~robbat2/distfiles/${PNV}.tar.bz2"
|
|
||||||
|
|
||||||
SUMMARY="Gentoo Network Interface Management Scripts"
|
SUMMARY="Gentoo Network Interface Management Scripts"
|
||||||
LICENCES="BSD-2"
|
LICENCES="BSD-2"
|
||||||
@ -34,7 +33,7 @@ src_compile() {
|
|||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake ${MAKE_ARGS} DESTDIR="${IMAGE}" install
|
emake ${MAKE_ARGS} DESTDIR="${IMAGE}" install
|
||||||
dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO ChangeLog
|
dodoc README CREDITS FEATURE-REMOVAL-SCHEDULE STYLE TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
@ -12,7 +12,10 @@ Remmina is a remote desktop client written in GTK+, aiming to be useful for syst
|
|||||||
HOMEPAGE+=" http://remmina.org/"
|
HOMEPAGE+=" http://remmina.org/"
|
||||||
|
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
MYOPTIONS="ssh"
|
MYOPTIONS="
|
||||||
|
ssh
|
||||||
|
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||||
|
"
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build:
|
build:
|
||||||
@ -36,6 +39,8 @@ DEPENDENCIES="
|
|||||||
net-libs/libssh
|
net-libs/libssh
|
||||||
dev-libs/vte:2.91
|
dev-libs/vte:2.91
|
||||||
)
|
)
|
||||||
|
providers:libressl? ( dev-libs/libressl:= )
|
||||||
|
providers:openssl? ( dev-libs/openssl )
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
@ -60,3 +65,4 @@ CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
|||||||
"ssh LIBSSH"
|
"ssh LIBSSH"
|
||||||
"ssh VTE"
|
"ssh VTE"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ require freedesktop-desktop
|
|||||||
|
|
||||||
SUMMARY="Next generation Brave browser"
|
SUMMARY="Next generation Brave browser"
|
||||||
HOMEPAGE="https://brave-browser.readthedocs.io"
|
HOMEPAGE="https://brave-browser.readthedocs.io"
|
||||||
DOWNLOADS="https://brave-browser-apt-dev.s3.brave.com/pool/main/b/${PN}/${PN}_0.50.14_amd64.deb"
|
DOWNLOADS="https://github.com/brave/brave-browser/releases/download/v${PV}/brave-browser_${PV}_amd64.deb"
|
||||||
|
|
||||||
LICENCES="MPL-2.0"
|
LICENCES="MPL-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -60,17 +60,17 @@ src_unpack() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
local f
|
local f
|
||||||
|
|
||||||
edo mv usr/share/doc/${PN} usr/share/doc/${PNV}
|
edo mv usr/share/doc/brave-browser usr/share/doc/${PNV}
|
||||||
insinto /usr/share
|
insinto /usr/share
|
||||||
doins -r usr/share/*
|
doins -r usr/share/*
|
||||||
|
|
||||||
insinto /opt
|
insinto /opt
|
||||||
doins -r opt/*
|
doins -r opt/*
|
||||||
for f in "${IMAGE}"/opt/brave.com/brave-dev/{${PN},brave,brave-sandbox} ; do
|
for f in "${IMAGE}"/opt/brave.com/brave/{brave-browser,brave,brave-sandbox} ; do
|
||||||
edo chmod +x "${f}"
|
edo chmod +x "${f}"
|
||||||
done
|
done
|
||||||
|
|
||||||
dodir /usr/$(exhost --target)/bin
|
dodir /usr/$(exhost --target)/bin
|
||||||
dosym ../../../opt/brave.com/brave-dev/${PN} /usr/$(exhost --target)/bin/${PN}
|
dosym ../../../opt/brave.com/brave/brave-browser /usr/$(exhost --target)/bin/${PN}
|
||||||
}
|
}
|
||||||
|
|
22
packages/virtual/GHC/GHC-0.exheres-0
Normal file
22
packages/virtual/GHC/GHC-0.exheres-0
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
SUMMARY="Virtual: The Glasgow Haskell Compiler"
|
||||||
|
HOMEPAGE=""
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS="
|
||||||
|
( providers:
|
||||||
|
ghc-bin
|
||||||
|
GHC
|
||||||
|
) [[
|
||||||
|
*description = [ ghc provider ]
|
||||||
|
number-selected = at-most-one
|
||||||
|
]]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
providers:ghc-bin? ( dev-lang/ghc-bin )
|
||||||
|
providers:GHC? ( dev-lang/GHC )
|
||||||
|
"
|
@ -1,3 +1,3 @@
|
|||||||
* dev-haskell/cabal-install-bin
|
* dev-haskell/cabal-install-bin
|
||||||
* dev-lang/ghc-bin
|
* virtual/GHC
|
||||||
? dev-haskell/stack-bin
|
? dev-haskell/stack-bin
|
||||||
|
Loading…
Reference in New Issue
Block a user