New package: crawl-0.17.0
This commit is contained in:
parent
b48c9fea82
commit
9ae7b79d40
1 changed files with 35 additions and 0 deletions
35
srcpkgs/crawl/template
Normal file
35
srcpkgs/crawl/template
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Template file for 'crawl'
|
||||
pkgname=crawl
|
||||
version=0.17.0
|
||||
revision=1
|
||||
build_wrksrc="crawl-ref/source"
|
||||
make_build_args="prefix=/usr bin_prefix=bin"
|
||||
hostmakedepends="pkg-config perl"
|
||||
makedepends="ncurses-devel lua51-devel sqlite-devel zlib-devel"
|
||||
short_desc="Dungeon Crawl Stone Soup roguelike adventure"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://crawl.develz.org/"
|
||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=0715b04c2dc518f89d4fe83713a399def6097f6142fc90ff0041ca394fe16322
|
||||
nocross=yes
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/defined(__ANDROID__)/& || !defined(__GLIBC__)/' ${build_wrksrc}/crash.cc
|
||||
}
|
||||
|
||||
do_build() {
|
||||
echo $version >util/release_ver
|
||||
# crashes with relro?
|
||||
make ${makejobs} CC="$CC" CXX="$CXX" \
|
||||
EXTERNAL_FLAGS="$CFLAGS" V=1 build-rltiles
|
||||
make ${makejobs} CC="$CC" CXX="$CXX" \
|
||||
EXTERNAL_FLAGS="$CFLAGS" EXTERNAL_LDFLAGS="$LDFLAGS" \
|
||||
${make_build_args} V=1 DESTDIR=${DESTDIR}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make CC="$CC" CXX="$CXX" \
|
||||
EXTERNAL_FLAGS="$CFLAGS" EXTERNAL_LDFLAGS="$LDFLAGS" \
|
||||
${make_build_args} DESTDIR=${DESTDIR} install
|
||||
}
|
Loading…
Reference in a new issue