diff --git a/srcpkgs/musca/files/Makefile b/srcpkgs/musca/files/Makefile new file mode 100644 index 0000000000..5c1ecd85f4 --- /dev/null +++ b/srcpkgs/musca/files/Makefile @@ -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 diff --git a/srcpkgs/musca/template b/srcpkgs/musca/template index 9b7161344b..4f8b0057a8 100644 --- a/srcpkgs/musca/template +++ b/srcpkgs/musca/template @@ -1,15 +1,19 @@ # Template file for 'musca' pkgname=musca version=0.9.24 -revision=1 +revision=2 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" maintainer="Diogo Leal " license="GPL-3" homepage="http://aerosuidae.net/musca.html" distfiles="http://aerosuidae.net/musca-${version}.tgz" checksum=c34e37e2df5075a61f8d5268786ab8115816af95c46e063c50f7f1c500527301 + +pre_build() { + cp ${FILESDIR}/Makefile . +} do_install() { vbin musca vbin apis