New package: cwm-git-20130928_1
This commit is contained in:
parent
c24b33a339
commit
c1a2863717
1 changed files with 32 additions and 0 deletions
32
srcpkgs/cwm-git/template
Normal file
32
srcpkgs/cwm-git/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'cwm-git'
|
||||||
|
pkgname=cwm-git
|
||||||
|
version=20130928
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="pkg-config bison"
|
||||||
|
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel"
|
||||||
|
short_desc="Lightweight and efficient window manager for X11"
|
||||||
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
|
license="ISC"
|
||||||
|
homepage="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD+Current&format=html"
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
local url="git://github.com/chneukirchen/cwm"
|
||||||
|
msg_normal "Fetching source from $url ...\n"
|
||||||
|
git clone ${url} ${pkgname}-${version}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
sed -i 's/^CPPFLAGS+=/CPPFLAGS=/' Makefile
|
||||||
|
sed -i 's/^LDFLAGS+=/LDFLAGS=/' Makefile
|
||||||
|
make CC=$CC ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
||||||
|
}
|
||||||
|
|
||||||
|
cwm-git_package() {
|
||||||
|
pkg_install() {
|
||||||
|
vmove all
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue