void-packages/srcpkgs/wine/template

47 lines
1.4 KiB
Plaintext

# Template file for 'wine'
pkgname=wine
version=1.2.3
revision=1
build_style=gnu-configure
homepage="http://www.winehq.org/"
distfiles="http://ibiblio.org/pub/linux/system/emulators/${pkgname}/${pkgname}-${version}.tar.bz2"
short_desc="Run Windows applications on Linux, BSD, Solaris and Mac OS X."
maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL-2.1"
checksum=3fd8d3f2b466d07eb90b8198cdc9ec3005917a4533db7b8c6c69058a2e57c61f
long_desc="
Wine lets you run Windows software on other operating systems. With Wine,
you can install and run these applications just like you would in
Windows."
only_for_archs=i686
subpackages="lib$pkgname $pkgname-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run glibc
Add_dependency run libwine
Add_dependency build lcms-devel
Add_dependency build zlib-devel
Add_dependency build MesaLib-devel
Add_dependency build libSM-devel
Add_dependency build libXext-devel
Add_dependency build libX11-devel
Add_dependency build libldap-devel
Add_dependency build alsa-lib-devel
Add_dependency build libgphoto2-devel
Add_dependency build libxml2-devel
Add_dependency build mpg123-devel
Add_dependency full desktop-file-utils
Add_dependency full hicolor-icon-theme
CPPFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include"
pre_configure()
{
sed -i 's/\(libncurses\)/\1w/g' configure
sed -i 's/\(libdbus\)/\1-1/g' configure
}