mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
31 lines
866 B
Bash
31 lines
866 B
Bash
|
#
|
||
|
# Games Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=ode
|
||
|
pkgver=0.11.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="An open source, high performance library for simulating rigid body dynamics"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.ode.org"
|
||
|
license=('LGPL' 'BSD')
|
||
|
depends=('gcc-libs' 'bash')
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/opende/${pkgname}-${pkgver}.tar.bz2)
|
||
|
options=('!libtool')
|
||
|
md5sums=('712579afabc2a15aa56e399f76171477')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr \
|
||
|
--enable-shared
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir}/ install
|
||
|
|
||
|
install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/ou/LICENSE-BSD.TXT \
|
||
|
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-BSD.TXT
|
||
|
}
|