parent
1ddac3d4a5
commit
884da4d8d6
2 changed files with 26 additions and 2 deletions
20
srcpkgs/musca/files/Makefile
Normal file
20
srcpkgs/musca/files/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
CFLAGS?=-Wall -g
|
||||||
|
LDFLAGS?=-s
|
||||||
|
LIBS?=-L/usr/lib -lX11 -lm
|
||||||
|
|
||||||
|
all: musca apis xlisten
|
||||||
|
|
||||||
|
musca: musca.o
|
||||||
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
||||||
|
|
||||||
|
apis: apis.o
|
||||||
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
||||||
|
|
||||||
|
xlisten: xlisten.o
|
||||||
|
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f musca apis
|
|
@ -1,15 +1,19 @@
|
||||||
# Template file for 'musca'
|
# Template file for 'musca'
|
||||||
pkgname=musca
|
pkgname=musca
|
||||||
version=0.9.24
|
version=0.9.24
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libXcursor-devel"
|
makedepends="libX11-devel libXcursor-devel"
|
||||||
short_desc="A tiling window manager, with features nicked from ratpoison and dwm"
|
short_desc="A tiling window manager, with features nicked from ratpoison and dwm"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://aerosuidae.net/musca.html"
|
homepage="http://aerosuidae.net/musca.html"
|
||||||
distfiles="http://aerosuidae.net/musca-${version}.tgz"
|
distfiles="http://aerosuidae.net/musca-${version}.tgz"
|
||||||
checksum=c34e37e2df5075a61f8d5268786ab8115816af95c46e063c50f7f1c500527301
|
checksum=c34e37e2df5075a61f8d5268786ab8115816af95c46e063c50f7f1c500527301
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
cp ${FILESDIR}/Makefile .
|
||||||
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin musca
|
vbin musca
|
||||||
vbin apis
|
vbin apis
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue