Convert packages to the new template format (w).

This commit is contained in:
Juan RP 2013-04-14 17:36:49 +02:00
parent 50e9d080e4
commit b8841b7947
48 changed files with 439 additions and 370 deletions

View file

@ -2,7 +2,6 @@
pkgname=warsow-data
version=1.0
revision=1
noarch=yes
wrksrc="warsow_${version}"
short_desc="Warsow FPS data files"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -20,3 +19,10 @@ do_install() {
vcopy "basewsw/*" usr/share/warsow/basewsw
vinstall docs/license.txt 644 usr/share/licenses/warsow
}
warsow-data_package() {
noarch="yes"
pkg_install() {
vmove usr
}
}

View file

@ -3,8 +3,6 @@ pkgname=warsow
version=1.0
revision=2
wrksrc="warsow_${version}_sdk"
# libopenal is dlopen(3)ed at runtime.
depends="desktop-file-utils warsow-data>=$version libopenal"
makedepends="pkg-config libcurl-devel libvorbis-devel libtheora-devel
libjpeg-turbo-devel libpng-devel SDL-devel libopenal-devel MesaLib-devel
libXext-devel libXinerama-devel libXrandr-devel libXxf86vm-devel
@ -32,3 +30,11 @@ do_install() {
vinstall ${FILESDIR}/warsow.desktop 644 usr/share/applications
vinstall ${FILESDIR}/warsow.png 644 usr/share/pixmaps
}
warsow_package() {
# libopenal is dlopen(3)ed at runtime.
depends="desktop-file-utils warsow-data>=1.0 libopenal"
pkg_install() {
vmove usr
}
}

View file

@ -1,13 +0,0 @@
# Template file for 'libwavpack'.
#
short_desc="${short_desc} - shared library"
long_desc="${long_desc}
This package contains the shared library."
do_install()
{
vmove "usr/lib/*.so*" usr/lib
}

View file

@ -1,8 +1,7 @@
# Template file for 'wavpack'
pkgname=wavpack
version=4.60.1
revision=4
distfiles="http://www.wavpack.com//${pkgname}-${version}.tar.bz2"
revision=5
build_style=gnu-configure
configure_args="--enable-mmx"
makedepends="pkg-config"
@ -10,6 +9,7 @@ short_desc="An audio codec (lossy and lossless)"
homepage="http://www.wavpack.com/"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.wavpack.com//${pkgname}-${version}.tar.bz2"
checksum=175ee4f2effd6f51e6ec487956f41177256bf892c2e8e07de5d27ed4ee6888c5
long_desc="
WavPack is a completely open audio compression format providing lossless,
@ -18,4 +18,25 @@ long_desc="
4 format has been designed from the ground up to offer unparalleled
performance and functionality."
subpackages="libwavpack $pkgname-devel"
libwavpack_package() {
short_desc="${short_desc} - shared library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
wavpack-devel_package() {
depends="libwavpack>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
wavpack_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,16 +0,0 @@
# Template file for 'wavpack-devel'.
#
depends="glib-devel libwavpack"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
}

View file

@ -1,13 +1,12 @@
# Template file for 'webkit-gtk3'
pkgname=webkit-gtk3
version=1.10.2
revision=2
revision=3
wrksrc="webkitgtk-${version}"
makedepends="perl pkg-config intltool which gperf bison25 flex
libjpeg-turbo-devel libpng-devel>=1.5.10 sqlite-devel gtk+-devel gtk+3-devel
gst-plugins-base-devel libsoup-devel libxslt-devel icu-devel>=49
enchant-devel dbus-glib-devel geoclue-devel gobject-introspection ruby"
subpackages="webkit-gtk webkit-gtk-devel ${pkgname}-devel"
short_desc="GTK+3 port of the WebKit browser engine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://webkitgtk.org/"
@ -36,7 +35,7 @@ do_build() {
for ver in 2 3; do
msg_normal "Building GTK+${ver} version...\n"
cd ${wrksrc}/build-gtk${ver}
make ${makejobs} || return 1
make ${makejobs}
done
}
@ -44,6 +43,46 @@ do_install() {
for ver in 2 3; do
msg_normal "Installing GTK+${ver} version...\n"
cd ${wrksrc}/build-gtk${ver}
make DESTDIR=${DESTDIR} install || return 1
make DESTDIR=${DESTDIR} install
done
}
webkit-gtk_package() {
short_desc="GTK+ port of the WebKit browser engine"
pkg_install() {
vmove usr/bin/jsc-1
vmove "usr/lib/libwebkitgtk-1.0.so*"
vmove "usr/lib/libjavascriptcoregtk-1.0.so*"
vmove "usr/lib/girepository-1.0/*-1.0.typelib"
for f in $(echo ${DESTDIR}/usr/share/locale/*); do
vmove usr/share/locale/$(basename $f)/LC_MESSAGES/webkitgtk-2.0.mo
done
vmove usr/share/webkitgtk-1.0
}
}
webkit-gtk-devel_package() {
depends="libglib-devel gtk+-devel libsoup-devel webkit-gtk-${version}_${revision}"
short_desc="GTK+ port of the WebKit browser engine - development files"
pkg_install() {
vmove usr/include/webkitgtk-1.0
vmove "usr/lib/pkgconfig/*-1.0.pc"
vmove "usr/share/gir-1.0/*-1.0.gir"
}
}
webkit-gtk3-devel_package() {
depends="libglib-devel gtk+3-devel>=3.6.0_2 libsoup-devel webkit-gtk3-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/share/gir*"
}
}
webkit-gtk3_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,20 +0,0 @@
# Template file for 'webkit-gtk-devel'.
#
noarch=yes
depends="glib-devel gtk+-devel libsoup-devel
webkit-gtk-${version}_${revision}"
short_desc="GTK+ port of the WebKit browser engine - development files"
long_desc="${long_desc}
WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include/webkitgtk-1.0 usr/include
vmove "usr/lib/pkgconfig/*-1.0.pc" usr/lib/pkgconfig
vmove "usr/share/gir-1.0/*-1.0.gir" usr/share/gir-1.0
}

View file

@ -1,25 +0,0 @@
# Template file for 'webkit-gtk'.
#
short_desc="GTK+ port of the WebKit browser engine"
long_desc="
WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.
This is the GTK+ port of the engine."
do_install() {
vmkdir usr/lib/girepository-1.0
vmove usr/bin/jsc-1 usr/bin
vmove "usr/lib/libwebkitgtk-1.0.so*" usr/lib
vmove "usr/lib/libjavascriptcoregtk-1.0.so*" usr/lib
vmove "usr/lib/girepository-1.0/*-1.0.typelib" usr/lib/girepository-1.0
for f in $(echo ${SRCPKGDESTDIR}/usr/share/locale/*); do
vmove usr/share/locale/$(basename $f)/LC_MESSAGES/webkitgtk-2.0.mo \
usr/share/locale/$(basename $f)/LC_MESSAGES
done
vmove usr/share/webkitgtk-1.0 usr/share
}

View file

@ -1,15 +0,0 @@
# Template file for 'webkit-gtk-devel'.
#
noarch=yes
depends="glib-devel gtk+3-devel>=3.6.0_2 libsoup-devel
webkit-gtk3-${version}_${revision}"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/share/gir*" usr/share
}

View file

@ -4,7 +4,6 @@ version=2.0.0
revision=2
provides="webkit-gtk3-${version}"
replaces="webkit-gtk3>=0"
subpackages=" ${pkgname}-devel"
short_desc="GTK+3 port of the WebKit browser engine"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://webkitgtk.org/"
@ -26,3 +25,22 @@ makedepends="libjpeg-turbo-devel libpng-devel>=1.5.10 sqlite-devel
gst-plugins-base1-devel libsoup-devel>=2.42 libxslt-devel icu-devel>=49
enchant-devel dbus-glib-devel geoclue-devel libwebp-devel libsecret-devel
gtk+-devel gtk+3-devel>=3.8 libgudev-devel"
webkitgtk-devel_package() {
replaces="webkit-gtk3-devel>=0"
provides="webkit-gtk3-devel-${version}"
depends="gtk+3-devel>=2.8 libsoup-devel>=2.42 ${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
webkitgtk_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,16 +0,0 @@
# Template file for 'webkitgtk-devel'.
#
replaces="webkit-gtk3-devel>=0"
provides="webkit-gtk3-devel-${version}"
depends="gtk+3-devel>=2.8 libsoup-devel>=2.42
${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} - development files"
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/gir-1.0 usr/share
vmove usr/share/gtk-doc usr/share
}

View file

@ -1,9 +1,8 @@
# Template file for 'weechat'
pkgname=weechat
version=0.4.0
revision=1
revision=3
build_style=cmake
subpackages="weechat-aspell weechat-devel weechat-perl weechat-python
weechat-ruby weechat-tcl weechat-lua"
makedepends="cmake perl>=5.16 pkg-config tcl-devel aspell-devel
libgcrypt-devel gnutls-devel>=3.1.5 python-devel ruby-devel lua-devel
@ -14,3 +13,66 @@ license="GPL-3"
homepage="http://www.weechat.org"
distfiles="${homepage}/files/src/$pkgname-$version.tar.bz2"
checksum=1df12201d8b0ac25f62ddbfb675e8f3d978e52bc5b644d55ccf4c755956fa60d
weechat-aspell_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- aspell plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/aspell.so
}
}
weechat-devel_package() {
depends="ncurses-devel"
short_desc="${short_desc} - development package"
pkg_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}
}
weechat-perl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- perl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/perl.so
}
}
weechat-python_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- python plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/python.so
}
}
weechat-ruby_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- ruby plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/ruby.so
}
}
weechat-tcl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- tcl plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/tcl.so
}
}
weechat-lua_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- lua plugin"
pkg_install() {
vmove usr/lib/weechat/plugins/lua.so
}
}
weechat_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,8 +0,0 @@
# Template file for 'weechat-aspell'.
#
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- aspell plugin"
do_install() {
vmove usr/lib/weechat/plugins/aspell.so usr/lib/weechat/plugins
}

View file

@ -1,10 +0,0 @@
# Template file for 'weechat-devel'.
#
noarch=yes
depends="ncurses-devel"
short_desc="${short_desc} - development package"
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

View file

@ -1,8 +0,0 @@
# Template file for 'weechat-lua'.
#
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- lua plugin"
do_install() {
vmove usr/lib/weechat/plugins/lua.so usr/lib/weechat/plugins
}

View file

@ -1,8 +0,0 @@
# Template file for 'weechat-perl'.
#
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- perl plugin"
do_install() {
vmove usr/lib/weechat/plugins/perl.so usr/lib/weechat/plugins
}

View file

@ -1,8 +0,0 @@
# Template file for 'weechat-python'.
#
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- python plugin"
do_install() {
vmove usr/lib/weechat/plugins/python.so usr/lib/weechat/plugins
}

View file

@ -1,8 +0,0 @@
# Template file for 'weechat-ruby'.
#
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- ruby plugin"
do_install() {
vmove usr/lib/weechat/plugins/ruby.so usr/lib/weechat/plugins
}

View file

@ -1,8 +0,0 @@
# Template file for 'weechat-tcl'.
#
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- tcl plugin"
do_install() {
vmove usr/lib/weechat/plugins/tcl.so usr/lib/weechat/plugins
}

View file

@ -4,7 +4,6 @@ version=1.0.6
revision=1
build_style=gnu-configure
configure_args="--with-cairo-glesv2"
depends="wayland>=${version}"
short_desc="Reference implementation of a Wayland compositor"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wayland.freedesktop.org/"
@ -12,9 +11,6 @@ license="MIT"
distfiles="http://wayland.freedesktop.org/releases/${pkgname}-${version}.tar.xz"
checksum=c833bc4dc8667561d2639b57220541531c039aa9332ce2a7022a3c466eb894f1
# cairo built with gles2 option.
depends="cairo>=1.12.14_5"
# XXX xcb-xkb.pc
makedepends="pkg-config wayland-devel>=${version} libxkbcommon-devel
xcb-util-keysyms-devel pixman-devel libXcursor-devel MesaLib-devel>=9.0.1_6
@ -28,3 +24,11 @@ post_install() {
vinstall clients/$f 755 usr/bin weston-$f
done
}
weston_package() {
# cairo built with gles2 option.
depends="wayland>=${version} cairo>=1.12.14_5"
pkg_install() {
vmove usr
}
}

View file

@ -11,16 +11,22 @@ license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=f3a6898e3a765bb94435b04a6668db9e5d19b3e90e0c69a503a2773ae936c269
conf_files="/etc/wgetrc"
depends="ca-certificates"
hostmakedepends="perl"
makedepends="openssl-devel libidn-devel"
makedepends="openssl-devel libidn-devel ca-certificates"
if [ "$CROSS_BUILD" ]; then
configure_args="${configure_args} --with-libssl-prefix=$XBPS_CROSS_BASE"
configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE"
fi
post_install() {
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" \
>> ${DESTDIR}/etc/wgetrc
}
wget_package() {
conf_files="/etc/wgetrc"
depends="ca-certificates"
pkg_install() {
vmove usr
}
}

View file

@ -1,23 +1,28 @@
# Template file for 'wgetpaste'
pkgname=wgetpaste
version=2.20
distfiles="http://wgetpaste.zlin.dk/$pkgname-$version.tar.bz2"
fulldepends="bash wget"
revision=1
makedepends="bash wget"
short_desc="A script that automates pasting to a number of pastebin services"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wgetpaste.zlin.dk/"
license="Public domain"
distfiles="http://wgetpaste.zlin.dk/$pkgname-$version.tar.bz2"
checksum=7a53836d02e07cefc3c2978bb129a037fa1e1222ba0e275c4e818230a6d6fb9e
long_desc="
A script that automates pasting to a number of pastebin services."
noarch=yes
do_install() {
vinstall ${pkgname} 755 usr/bin
vinstall _${pkgname} 644 usr/share/zsh/site-functions
vinstall ${FILESDIR}/${pkgname}.example 644 \
usr/share/examples/${pkgname} ${pkgname}.conf.example
}
wgetpaste_package() {
depends="${makedepends}"
noarch="yes"
pkg_install() {
vmove usr
}
}

View file

@ -2,9 +2,6 @@
pkgname=whois
version=5.0.20
revision=1
build_style=gnu-makefile
make_install_args="prefix=/usr BASEDIR=${XBPS_DESTDIR}/${pkgname}-${version}"
make_install_target="install-whois"
makedepends="perl libidn-devel"
short_desc="The whois client by Marco d Itri"
maintainer="davehome <davehome@redthumb.info.tm>"
@ -18,11 +15,17 @@ long_desc="
do_build() {
# This is needed to set CFLAGS properly
make ${makejobs} prefix=/usr CFLAGS="${XBPS_CFLAGS}" HAVE_LIBIDN=1
make ${makejobs} prefix=/usr CFLAGS="$CFLAGS" HAVE_LIBIDN=1
}
post_install() {
do_install() {
make prefix=/usr BASEDIR=${DESTDIR} install-whois
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
whois_package() {
pkg_install() {
vmove usr
}
}

View file

@ -2,7 +2,8 @@
pkgname=wicd
version=1.7.1
revision=4
fulldepends="dhcpcd wpa_supplicant wireless_tools ethtool dbus-python pygobject2 python-urwid>=0.9.9"
makedepends="dhcpcd wpa_supplicant wireless_tools ethtool dbus-python
pygobject2 python-urwid>=0.9.9"
short_desc="Open source wired and wireless network manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wicd.sourceforge.net"
@ -26,17 +27,6 @@ long_desc="
* Tray icon showing network activity and signal strength
* A full-featured console interface"
noarch=yes
subpackages="wicd-gtk"
pycompile_module="wicd"
pycompile_dirs="usr/lib/wicd usr/share/wicd"
conf_files="
/etc/dbus-1/system.d/wicd.conf
/etc/wicd/encryption/templates/active"
systemd_services="wicd.service on"
do_install() {
python setup.py configure \
--resume=/usr/share/wicd/scripts \
@ -51,3 +41,37 @@ do_install() {
vmove "lib/*" usr/lib
}
wicd-gtk_package() {
noarch=yes
depends="wicd>=${version} pygtk notify-python shared-mime-info desktop-file-utils hicolor-icon-theme"
short_desc="${short_desc} - GTK UI"
pycompile_dirs="usr/share/wicd/gtk"
pkg_install() {
vmove etc/xdg
vmove usr/bin/wicd-client
vmove usr/bin/wicd-gtk
vmove usr/share/applications
vmove usr/share/pixmaps
vmove usr/share/icons
vmove usr/share/wicd/gtk
vmove usr/share/man/man1/wicd-client.1
vmove usr/share/man/nl/man1/wicd-client.1
}
}
wicd_package() {
noarch=yes
depends="${makedepends}"
pycompile_module="wicd"
pycompile_dirs="usr/lib/wicd usr/share/wicd"
conf_files="
/etc/dbus-1/system.d/wicd.conf
/etc/wicd/encryption/templates/active"
systemd_services="wicd.service on"
pkg_install() {
vmove etc
vmove usr
vmove var
}
}

View file

@ -1,23 +0,0 @@
# Template file for 'wicd-gtk'.
#
depends="wicd>=1.7.1 pygtk notify-python shared-mime-info desktop-file-utils hicolor-icon-theme"
short_desc="${short_desc} - GTK UI"
long_desc="${long_desc}
This package contains the WICD GTK+ UI."
noarch=yes
pycompile_dirs="usr/share/wicd/gtk"
do_install() {
vmove etc/xdg etc
vmove usr/bin/wicd-client usr/bin
vmove usr/bin/wicd-gtk usr/bin
vmove usr/share/applications usr/share
vmove usr/share/pixmaps usr/share
vmove usr/share/icons usr/share
vmove usr/share/wicd/gtk usr/share/wicd
vmove usr/share/man/man1/wicd-client.1 usr/share/man/man1
vmove usr/share/man/nl/man1/wicd-client.1 usr/share/man/nl/man1
}

View file

@ -1,9 +1,9 @@
# Template file for 'wifi-firmware'
pkgname=wifi-firmware
version=1.2
build_style=meta-template
fulldepends="ipw2100-firmware ipw2200-firmware zd1211-firmware"
revision=2
build_style=meta-template
makedepends="ipw2100-firmware ipw2200-firmware zd1211-firmware"
short_desc="WiFi firmware meta-package"
homepage="http://kernel.org/"
license="Custom"
@ -12,4 +12,7 @@ long_desc="
This is the wifi-firmware meta-package for installing the required firmware
files for some WiFi drivers in the Linux kernel."
noarch=yes
wifi-firmware_package() {
depends="${makedepends}"
noarch="yes"
}

View file

@ -10,7 +10,6 @@ else
checksum=19d0364a43621738fa3fd1713ef9590ad0cc61ea4c8858ad3f8703a81b13c927
fi
distfiles="${SOURCEFORGE_SITE}/wine/${pkgname2}-${version}-${gecko_arch}.msi"
depends="wine-unstable"
homepage="http://wiki.winehq.org/Gecko"
license="MPL-2"
short_desc="Mozilla Gecko Layout Engine for WINE to replace Internet Explorer."
@ -37,3 +36,10 @@ do_install() {
mv -v "wine_gecko-${version}-${gecko_arch}.msi" \
"${DESTDIR}/usr/share/wine/gecko"
}
wine-gecko_package() {
depends="wine-unstable"
pkg_install() {
vmove usr
}
}

View file

@ -2,13 +2,13 @@
pkgname=wine-mono
version="0.0.4"
revision=1
distfiles="${SOURCEFORGE_SITE}/wine/Wine%20Mono/${version}/${pkgname}-${version}.msi"
checksum=15d8a612cdeca4eff3137353f29fdeb7a99e055cd633844c91cd00e0186b8882
depends="wine-unstable"
makedepends="wine-unstable"
homepage="http://wiki.winehq.org/Mono"
license="MIT,GPL-3,LGPL-2"
short_desc="Mono built for running .NET applications with WINE."
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="${SOURCEFORGE_SITE}/wine/Wine%20Mono/${version}/${pkgname}-${version}.msi"
checksum=15d8a612cdeca4eff3137353f29fdeb7a99e055cd633844c91cd00e0186b8882
long_desc="
Mono is an open-source and cross-platform implementation of the .NET Framework.
WINE can use a Windows build of Mono to run .NET applications."
@ -29,3 +29,11 @@ do_install() {
mkdir -pv "${DESTDIR}/usr/share/wine/mono"
mv -v "${pkgname}-${version}.msi" "${DESTDIR}/usr/share/wine/mono"
}
wine-mono_package() {
noarch="yes"
depends="wine-unstable"
pkg_install() {
vmove usr
}
}

View file

@ -1,11 +0,0 @@
# Template file for 'libwine-unstable'.
#
short_desc="${short_desc} - Runtime library"
replaces="libwine>=0"
provides="libwine-${version}"
conflicts="libwine>=0"
do_install() {
vmove "usr/lib/*.so*" usr/lib
vmove usr/lib/wine usr/lib
}

View file

@ -13,11 +13,6 @@ checksum=ac77c1dd1a31ccc67f0391b4965959096aeb98745f52c4d91b7bd280e3c8b350
only_for_archs=i686
disable_debug=yes
replaces="wine>=0"
provides="wine-${version}"
conflicts="wine>=0"
subpackages="lib${pkgname} ${pkgname}-devel"
# XXX OpenCL
# XXX libcapi20 (ISDN support)
makedepends="flex gettext-devel autoconf lcms-devel zlib-devel ncurses-devel
@ -29,10 +24,43 @@ makedepends="flex gettext-devel autoconf lcms-devel zlib-devel ncurses-devel
giflib-devel libpng-devel v4l-utils-devel fontconfig-devel gnutls-devel
dbus-devel cups-devel sane-devel prelink"
# libOSMesa is loaded with dlopen(3) at runtime
fulldepends="desktop-file-utils hicolor-icon-theme liberation-fonts-ttf
makedepends+=" desktop-file-utils hicolor-icon-theme liberation-fonts-ttf
fontconfig libOSMesa"
pre_configure() {
sed -i 's/\(libncurses\)/\1w/g' configure
}
libwine-unstable_package() {
short_desc="${short_desc} - Runtime library"
replaces="libwine>=0"
provides="libwine-${version}"
conflicts="libwine>=0"
pkg_install() {
vmove "usr/lib/*.so*"
vmove usr/lib/wine
}
}
wine-unstable-devel_package() {
depends="libwine-unstable-${version}_${revision}"
short_desc="${short_desc} - Development files"
replaces="wine-devel>=0"
provides="wine-devel-${version}"
conflicts="wine-devel>=0"
pkg_install() {
vmove usr/include
}
}
wine-unstable_package() {
replaces="wine>=0"
provides="wine-${version}"
conflicts="wine>=0"
# libOSMesa is loaded with dlopen(3) at runtime
depends="desktop-file-utils hicolor-icon-theme liberation-fonts-ttf
fontconfig libOSMesa"
pkg_install() {
vmove usr
}
}

View file

@ -1,11 +0,0 @@
# Template file for 'libwine-unstable'.
#
depends="libwine-unstable-${version}_${revision}"
short_desc="${short_desc} - Development files"
replaces="wine-devel>=0"
provides="wine-devel-${version}"
conflicts="wine-devel>=0"
do_install() {
vmove usr/include usr
}

View file

@ -1,13 +0,0 @@
# Template file for 'libwine'.
#
short_desc="${short_desc} - Runtime library"
long_desc="${long_desc}
This package contains the wine runtime."
replaces="libwine>=0"
do_install() {
vmove "usr/lib/*.so*" usr/lib
vmove usr/lib/wine usr/lib
}

View file

@ -16,8 +16,6 @@ long_desc="
Windows."
only_for_archs=i686
replaces="wine>=0"
subpackages="libwine wine-devel"
# XXX OpenCL
# XXX libcapi20 (ISDN support)
@ -31,9 +29,35 @@ makedepends="flex gettext-devel lcms-devel zlib-devel ncurses-devel
v4l-utils-devel fontconfig-devel gnutls-devel dbus-devel sane-devel
cups-devel prelink"
fulldepends="desktop-file-utils hicolor-icon-theme liberation-fonts-ttf fontconfig"
makedepends+=" desktop-file-utils hicolor-icon-theme liberation-fonts-ttf fontconfig"
# Otherwise, throws a nasty warning.
pre_configure() {
sed -i 's/\(libncurses\)/\1w/g' configure
}
libwine_package() {
short_desc="${short_desc} - Runtime library"
replaces="libwine>=0"
pkg_install() {
vmove "usr/lib/*.so*"
vmove usr/lib/wine
}
}
wine-devel_package() {
depends="libwine-${version}_${revision}"
short_desc="${short_desc} - Development files"
replaces="wine-unstable-devel>=0"
conflicts="wine-unstable-devel>=0"
pkg_install() {
vmove usr/include
}
}
wine_package() {
replaces="wine>=0"
pkg_install() {
vmove usr
}
}

View file

@ -1,14 +0,0 @@
# Template file for 'wine-devel'.
#
depends="libwine-${version}_${revision}"
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
replaces="wine-unstable-devel>=0"
conflicts="wine-unstable-devel>=0"
do_install() {
vmove usr/include usr
}

View file

@ -3,7 +3,6 @@ pkgname=wineasio
version="0.9.0.git"
revision=2
homepage="http://sourceforge.net/projects/wineasio"
depends="jack"
makedepends="wine-unstable wine-unstable-devel jack-devel"
short_desc="JACK driver for WINE to provide Windows Apps with ASIO support."
maintainer="davehome <davehome@redthumb.info.tm>"
@ -12,27 +11,31 @@ long_desc="
WineASIO provides an ASIO to JACK driver for WINE. ASIO is the most common
Windows low-latency driver, so is commonly used in audio workstation programs."
nonfree=yes
only_for_archs=i686
nofetch=yes
noextract=yes
do_fetch()
{
do_fetch() {
local url="git://wineasio.git.sourceforge.net/gitroot/wineasio/wineasio"
msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_build()
{
do_build() {
local url="http://stellarbox.co.cc/asio.h"
msg_normal " Fetching ${url} ...\n"
$XBPS_FETCH_CMD ${url}
make ${makejobs}
}
do_install()
{
do_install() {
vinstall wineasio.dll.so 755 usr/lib/wine
}
wineasio_package() {
nonfree="yes"
depends="jack"
pkg_install() {
vmove usr
}
}

View file

@ -1,7 +1,7 @@
# Template file for 'wireless_tools'
pkgname=wireless_tools
version=29
revision=4
revision=5
wrksrc="${pkgname}.${version}"
short_desc="Set of tools allowing to manipulate the Wireless Extensions"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -9,7 +9,6 @@ homepage="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
license="GPL-2"
distfiles="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$pkgname.$version.tar.gz"
checksum=6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
subpackages="$pkgname-devel"
do_build() {
sed -e "s|CFLAGS=|CFLAGS+=|g" -i Makefile
@ -28,3 +27,17 @@ do_install() {
INSTALL_INC=${DESTDIR}/usr/include \
INSTALL_MAN=${DESTDIR}/usr/share/man install
}
wireless_tools-devel_package() {
depends="wireless_tools>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
}
}
wireless_tools_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,9 +0,0 @@
# Template file for 'wireless_tools-devel'.
#
depends="wireless_tools>=${version}"
short_desc="${short_desc} -- development files"
noarch=yes
do_install() {
vmove usr/include usr
}

View file

@ -3,7 +3,6 @@ pkgname=wmfs
version=201104
revision=3
build_style=configure
conf_files="/etc/xdg/wmfs/wmfsrc"
configure_args="--prefix /usr --man-prefix /usr/share/man --xdg-config-dir /etc/xdg"
makedepends="pkg-config libXft-devel libXrender-devel fontconfig-devel libXinerama-devel libXrandr-devel imlib2-devel"
short_desc="Window Manager From Scratch"
@ -23,3 +22,11 @@ long_desc="
post_install() {
vinstall COPYING 644 usr/share/licenses/wmfs
}
wmfs_package() {
conf_files="/etc/xdg/wmfs/wmfsrc"
pkg_install() {
vmove etc
vmove usr
}
}

View file

@ -13,3 +13,9 @@ checksum=559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5
do_install() {
make install DESTDIR=${DESTDIR} PREFIX=/usr
}
wmname_package() {
pkg_install() {
vmove usr
}
}

View file

@ -3,15 +3,21 @@ pkgname=wok
version=0.9
revision=2
create_srcdir=yes
noarch=yes
pycompile_module="wok"
build_style=python-module
depends="python>=2.7 python-jinja pyyaml python-docutils python-Markdown python-Pygments"
hostmakedepends="python-distribute"
makedepends="python-devel"
makedepends="python-devel python-jinja pyyaml python-docutils python-Markdown python-Pygments"
short_desc="A simple static site generator in python"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/mythmon/wok"
license="MIT"
distfiles="https://github.com/mythmon/wok/archive/v${version}.tar.gz"
checksum=e5c5d24dbda05d396e5d22aeac05ce40bf4f362da9ca04a82c04c80ebade12b8
wok_package() {
noarch="yes"
pycompile_module="wok"
depends="python>=2.7 python-jinja pyyaml python-docutils python-Markdown python-Pygments"
pkg_install() {
vmove usr
}
}

View file

@ -12,7 +12,6 @@ checksum=2c115609fbb5223d51381084a5c944455a8afcda81d584173ff55ba233379e09
hostmakedepends="pkg-config"
makedepends="libnl3-devel openssl-devel dbus-devel readline-devel"
conf_files="/etc/${pkgname}.conf"
do_build() {
sed -i 's|/usr/local|$(PREFIX)|g' Makefile
@ -49,3 +48,11 @@ do_install() {
vmkdir usr/lib/systemd/system
install -m644 systemd/*.service ${DESTDIR}/usr/lib/systemd/system
}
wpa_supplicant_package() {
conf_files="/etc/wpa_supplicant.conf"
pkg_install() {
vmove etc
vmove usr
}
}

View file

@ -1,10 +0,0 @@
# Template file for 'libwv'.
#
short_desc="${short_desc} - Runtime library"
long_desc="${long_desc}
This package contains the runtime."
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

View file

@ -2,9 +2,8 @@
pkgname=wv
version=1.2.4
build_style=gnu-configure
revision=4
revision=5
makedepends="pkg-config glib-devel libxml2-devel libpng-devel>=1.5.10 libgsf-devel"
subpackages="libwv wv-devel"
short_desc="wv is a library which allows access to Microsoft Word files."
homepage="http://wvware.sourceforge.net/"
license="GPL-3"
@ -16,3 +15,26 @@ long_desc="
parse Word 2000, 97, 95 and 6 file formats. (These are the file formats
known internally as Word 9, 8, 7 and 6.) There is some support for reading
earlier formats as well: Word 2 docs are converted to plaintext."
libwv_package() {
short_desc="${short_desc} - Runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
wv-devel_package() {
depends="libwv>=$version"
short_desc="${short_desc} - Development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
wv_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,13 +0,0 @@
# Template file for 'wv-devel'.
#
depends="glibc-devel libwv>=$version"
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
}

View file

@ -3,7 +3,6 @@ pkgname=wxGTK
version=2.8.12.1
revision=3
wrksrc="wxPython-src-${version}"
subpackages="${pkgname}-devel"
# XXX: GStreamer support?
makedepends="pkg-config zlib-devel libpng-devel>=1.5.10 libjpeg-turbo-devel
libXpm-devel tiff-devel expat-devel libXinerama-devel GConf-devel
@ -34,3 +33,21 @@ do_install() {
make -C contrib/src DESTDIR="${DESTDIR}" install
vinstall docs/licence.txt 0644 "usr/share/licenses/${pkgname}" LICENSE
}
wxGTK-devel_package() {
depends="wxGTK>=$version"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/share/aclocal
vmove usr/share/bakefile
vmove usr/lib/wx
vmove usr/bin
}
}
wxGTK_package() {
pkg_install() {
vmove usr
}
}

View file

@ -1,12 +0,0 @@
# Template file for 'wxGTK-devel'.
#
depends="wxGTK>=$version"
short_desc="${short_desc} -- development files"
do_install() {
vmove usr/include usr
vmove usr/share/aclocal usr/share
vmove usr/share/bakefile usr/share
vmove usr/lib/wx usr/lib
vmove usr/bin usr
}

View file

@ -1,13 +1,11 @@
# Template build file for 'wxPython'
pkgname=wxPython
version=2.8.12.1
revision=3
subpackages="${pkgname}-devel"
revision=4
wrksrc="${pkgname}-src-${version}"
makedepends="pkg-config zlib-devel libpng-devel libjpeg-turbo-devel libXpm-devel
tiff-devel expat-devel libX11-devel libXinerama-devel GConf-devel cairo-devel
gtk+-devel MesaLib-devel wxGTK-devel python-devel"
fulldepends="python"
short_desc="The wxWidgets GUI toolkit library (Python Bindings)"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.wxwidgets.org/"
@ -40,3 +38,18 @@ do_install() {
vinstall ../docs/licence.txt 0644 \
"usr/share/licenses/${pkgname}" LICENSE
}
wxPython-devel_package() {
depends="wxGTK-devel wxPython>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
}
}
wxPython_package() {
depends="python"
pkg_install() {
vmove usr
}
}

View file

@ -1,9 +0,0 @@
# Template file for 'wxPython-devel'.
#
depends="wxGTK-devel wxPython>=${version}"
short_desc="${short_desc} -- development files"
noarch=yes
do_install() {
vmove usr/include usr
}