public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-server/crossfire-server/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     706f6c2c2b81b5a8afd8e3c9e873d28664199601
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 18:06:12 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706f6c2c

games-server/crossfire-server: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 .../crossfire-server-1.71.0.ebuild                 | 50 ----------------------
 1 file changed, 50 deletions(-)

diff --git a/games-server/crossfire-server/crossfire-server-1.71.0.ebuild b/games-server/crossfire-server/crossfire-server-1.71.0.ebuild
deleted file mode 100644
index ef6c64bacda..00000000000
--- a/games-server/crossfire-server/crossfire-server-1.71.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-MY_P="${P/-server/}"
-DESCRIPTION="server for the crossfire clients"
-HOMEPAGE="http://crossfire.real-time.com/"
-SRC_URI="mirror://sourceforge/crossfire/${PN}/${PV}/${MY_P}.tar.bz2
-	mirror://sourceforge/crossfire/${PN}/${PV}/${MY_P}.maps.tar.bz2
-	mirror://sourceforge/crossfire/${PN}/${PV}/${MY_P}.arch.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X"
-RESTRICT="test"
-
-DEPEND="net-misc/curl
-	X? (
-		x11-libs/libXaw
-		media-libs/libpng:0
-	)"
-RDEPEND=${DEPEND}
-
-src_prepare() {
-	rm -f "${WORKDIR}"/maps/Info/combine.pl # bug #236205
-	ln -s "${WORKDIR}/arch" "${S}/lib" || die
-	epatch "${FILESDIR}"/${P}-format.patch
-}
-
-src_configure() {
-	egamesconf --disable-static
-}
-
-src_compile() {
-	# work around the collect.pl locking
-	emake -j1 -C lib
-	emake
-}
-
-src_install() {
-	default
-	keepdir "${GAMES_STATEDIR}"/crossfire/{account,datafiles,maps,players,template-maps,unique-items}
-	insinto "${GAMES_DATADIR}/crossfire"
-	doins -r "${WORKDIR}/maps"
-	prune_libtool_files --modules
-	prepgamesdirs
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-server/crossfire-server/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a4e6c1297841f81175dd6a78fb576effdbe5c0c7
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 18:06:03 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4e6c129

games-server/crossfire-server: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 .../crossfire-server-1.71.0-r1.ebuild              | 51 ++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/games-server/crossfire-server/crossfire-server-1.71.0-r1.ebuild b/games-server/crossfire-server/crossfire-server-1.71.0-r1.ebuild
new file mode 100644
index 00000000000..3012afe88c9
--- /dev/null
+++ b/games-server/crossfire-server/crossfire-server-1.71.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${P/-server/}"
+DESCRIPTION="Server for the crossfire clients"
+HOMEPAGE="http://crossfire.real-time.com/"
+SRC_URI="mirror://sourceforge/crossfire/${PN}/${PV}/${MY_P}.tar.bz2
+	mirror://sourceforge/crossfire/${PN}/${PV}/${MY_P}.maps.tar.bz2
+	mirror://sourceforge/crossfire/${PN}/${PV}/${MY_P}.arch.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+RESTRICT="test"
+
+RDEPEND="
+	net-misc/curl
+	X? (
+		x11-libs/libXaw
+		media-libs/libpng:0=
+	)
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	rm -f "${WORKDIR}"/maps/Info/combine.pl # bug #236205
+	ln -s "${WORKDIR}/arch" "${S}/lib" || die
+	eapply "${FILESDIR}"/${P}-format.patch
+}
+
+src_configure() {
+	econf --disable-static
+}
+
+src_compile() {
+	# work around the collect.pl locking
+	emake -j1 -C lib
+	emake
+}
+
+src_install() {
+	default
+	keepdir /var/lib/crossfire/{account,datafiles,maps,players,template-maps,unique-items}
+	insinto /usr/share/crossfire
+	doins -r "${WORKDIR}/maps"
+	find "${D}" -name '*.la' -delete || die
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-server/crossfire-server/
@ 2021-06-30 18:40 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-06-30 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     40c751e9ebb33ae439d7513bc8ac7fbd72da6202
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 30 18:40:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 30 18:40:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c751e9

games-server/crossfire-server: add missing libcrypt, zlib dependencies, EAPI 8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...0-r1.ebuild => crossfire-server-1.71.0-r2.ebuild} | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/games-server/crossfire-server/crossfire-server-1.71.0-r1.ebuild b/games-server/crossfire-server/crossfire-server-1.71.0-r2.ebuild
similarity index 77%
rename from games-server/crossfire-server/crossfire-server-1.71.0-r1.ebuild
rename to games-server/crossfire-server/crossfire-server-1.71.0-r2.ebuild
index 3012afe88c9..addefb17ecb 100644
--- a/games-server/crossfire-server/crossfire-server-1.71.0-r1.ebuild
+++ b/games-server/crossfire-server/crossfire-server-1.71.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 MY_P="${P/-server/}"
 DESCRIPTION="Server for the crossfire clients"
@@ -18,6 +18,8 @@ RESTRICT="test"
 
 RDEPEND="
 	net-misc/curl
+	sys-libs/zlib
+	virtual/libcrypt:=
 	X? (
 		x11-libs/libXaw
 		media-libs/libpng:0=
@@ -27,8 +29,11 @@ DEPEND="${RDEPEND}"
 
 src_prepare() {
 	default
-	rm -f "${WORKDIR}"/maps/Info/combine.pl # bug #236205
-	ln -s "${WORKDIR}/arch" "${S}/lib" || die
+
+	# bug #236205
+	rm -f "${WORKDIR}"/maps/Info/combine.pl || die
+	ln -s "${WORKDIR}"/arch "${S}"/lib || die
+
 	eapply "${FILESDIR}"/${P}-format.patch
 }
 
@@ -44,8 +49,11 @@ src_compile() {
 
 src_install() {
 	default
+
 	keepdir /var/lib/crossfire/{account,datafiles,maps,players,template-maps,unique-items}
+
 	insinto /usr/share/crossfire
-	doins -r "${WORKDIR}/maps"
-	find "${D}" -name '*.la' -delete || die
+	doins -r "${WORKDIR}"/maps
+
+	find "${ED}" -name '*.la' -delete || die
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-30 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 19:37 [gentoo-commits] repo/gentoo:master commit in: games-server/crossfire-server/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2018-05-01 19:37 Pacho Ramos
2021-06-30 18:40 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox