wmname: cross build support.

This commit is contained in:
Juan RP 2014-04-15 11:24:54 +02:00
parent fe44f20460
commit 33be00b894
1 changed files with 6 additions and 4 deletions

View File

@ -1,15 +1,17 @@
# Template file for 'wmname' # Template file for 'wmname'
pkgname=wmname pkgname=wmname
version=0.1 version=0.1
revision=1 revision=2
build_style=gnu-makefile
makedepends="libX11-devel" makedepends="libX11-devel"
short_desc="change the window manager name" short_desc="change the window manager name"
maintainer="pancake <pancake@nopcode.org>" maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT" license="MIT"
homepage="http://www.suckless.org/" homepage="http://www.suckless.org/"
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz" distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum=559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5 checksum=559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5
do_install() { do_build() {
make install DESTDIR=${DESTDIR} PREFIX=/usr sed -e '/strip/d' -i Makefile
make CC=$CC INCS=-I. LDFLAGS="-lX11 $LDFLAGS"
} }