void-packages/srcpkgs/winusb/template
2017-01-25 16:01:07 +01:00

26 lines
1,015 B
Bash

# Template file for 'winusb'
pkgname=winusb
version=1.0.11
revision=5
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-3.0"
hostmakedepends="pkg-config"
makedepends="wxWidgets-devel ntfs-3g parted desktop-file-utils hicolor-icon-theme"
short_desc="Simple tool that enable you to create your own usb stick windows installer"
depends="desktop-file-utils hicolor-icon-theme parted ntfs-3g"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://en.congelli.eu/prog_info_winusb.html"
distfiles="https://mirror.netcologne.de/gentoo/distfiles/winusb-${version}.tar.gz"
checksum=7bd8d2e63651134bd4173dcf358708fb9e6de1677c088e67d45995a1d5066bc9
case "${XBPS_TARGET_MACHINE}" in
x86_64*) depends+=" grub-x86_64-efi"; makedepends+=" grub-x86_64-efi" ;;
i686*) depends+=" grub-i386-efi"; makedepends+=" grub-i386-efi" ;;
esac
post_configure() {
sed -i Makefile src/Makefile \
-e"s;^\(CXXFLAGS *=\)\(.*\);\1 ${CXXFLAGS} \2;"
}