mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 20:32:58 +02:00
glirc: bump for ghc-9.8.4
This commit is contained in:
parent
cecb61732c
commit
610328e6d3
1 changed files with 10 additions and 18 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'glirc'
|
# Template file for 'glirc'
|
||||||
pkgname=glirc
|
pkgname=glirc
|
||||||
version=2.41
|
version=2.41
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cabal-install"
|
build_style=cabal
|
||||||
|
cabal_index_state=2025-07-04T14:10:45Z
|
||||||
makedepends="ncurses-devel openssl-devel"
|
makedepends="ncurses-devel openssl-devel"
|
||||||
short_desc="Console IRC client written in Haskell"
|
short_desc="Console IRC client written in Haskell"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -13,24 +14,15 @@ checksum=fbb5bd030ddce70158c4d5654c8fda93093e68b9fb85df4d6cb91ab72a67a6a6
|
||||||
nocross="cabal does not support cross compilation"
|
nocross="cabal does not support cross compilation"
|
||||||
nopie=yes # ghc is currently built without PIE support
|
nopie=yes # ghc is currently built without PIE support
|
||||||
|
|
||||||
_cabal_opts="-g"
|
post_configure() {
|
||||||
|
echo 'package HsOpenSSL' >> cabal.project.local
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
echo ' ghc-options:' >> cabal.project.local
|
||||||
_cabal_opts+=" --ghc-option -latomic"
|
echo ' -optc=-Wno-discarded-qualifiers' >> cabal.project.local
|
||||||
fi
|
echo ' -optc=-Wno-deprecated-declarations' >> cabal.project.local
|
||||||
|
echo ' -optc=-Wno-incompatible-pointer-types' >> cabal.project.local
|
||||||
if [ "$XBPS_MAKEJOBS" ]; then
|
|
||||||
_cabal_opts+=" --jobs=$XBPS_MAKEJOBS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
cabal update $_cabal_opts
|
|
||||||
cabal build $_cabal_opts
|
|
||||||
mv dist-newstyle/build/*/*/glirc-${version}/build/glirc/glirc glirc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
vbin glirc
|
|
||||||
vman glirc.1
|
vman glirc.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue