mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
lsw: fix PIE, cleanup.
This commit is contained in:
parent
b423a19bc0
commit
8adccc6104
1 changed files with 3 additions and 11 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'lsw'
|
# Template file for 'lsw'
|
||||||
pkgname=lsw
|
pkgname=lsw
|
||||||
version=0.3
|
version=0.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
|
||||||
makedepends="libX11-devel libXext-devel"
|
makedepends="libX11-devel libXext-devel"
|
||||||
|
LDFLAGS="-lX11"
|
||||||
short_desc="Lists the titles of all running X windows to stdout, similar to ls(1)"
|
short_desc="Lists the titles of all running X windows to stdout, similar to ls(1)"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -12,14 +12,6 @@ homepage="http://tools.suckless.org/lsw"
|
||||||
distfiles="http://dl.suckless.org/tools/lsw-${version}.tar.gz"
|
distfiles="http://dl.suckless.org/tools/lsw-${version}.tar.gz"
|
||||||
checksum=0b3f3ce16eef060df6e0d90327ee82593dfd75281347908698747cfa3f8d0655
|
checksum=0b3f3ce16eef060df6e0d90327ee82593dfd75281347908698747cfa3f8d0655
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
|
|
||||||
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
|
|
||||||
sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
|
|
||||||
make CC=$CC INCS="-I." LIBS="-lX11 -lXext -lcrypt" ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue