diff options
-rwxr-xr-x | build | 30 |
1 files changed, 13 insertions, 17 deletions
@@ -1,20 +1,16 @@ -#! /usr/bin/make -f +#!/usr/bin/make -f -PKGS = libasound.2 libasound.2-dbg libasound.2-dev +nop: + @: -$(PKGS): libasound.buildstamp +build: + oh-autoconfigure -- \ + --disable-python + oh-autobuild + touch $@ -.SILENT: libasound.buildstamp -libasound.buildstamp: - cd src && \ - ./configure --prefix=/usr \ - --build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \ - --disable-maintainer-mode \ - --disable-python && \ - make && make DESTDIR=$$(pwd)/../dest install - oh-strip -gl /usr/lib/libasound.so.2.0.0 - oh-installfiles $(PKGS) - oh-installdocs libasound.2 - oh-gencontrol $(PKGS) - oh-buildopk $(PKGS) - touch libasound.buildstamp +install: build + oh-autoinstall + oh-fixperms + oh-strip -k + oh-installfiles |