diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 29 |
1 files changed, 12 insertions, 17 deletions
@@ -1,19 +1,14 @@ -#! /usr/bin/make -f +#!/usr/bin/make -f -PKGS = alsa-utils - -$(PKGS): alsa-utils.buildstamp - -.SILENT: alsa-utils.buildstamp -alsa-utils.buildstamp: - cd src && \ - ./configure --prefix=/usr \ - --build=$${OH_BUILD_ARCH_GNU} --host=$${OH_HOST_ARCH_GNU} \ +build: + oh-autoconfigure -- \ --disable-xmlto \ - --disable-alsaconf && \ - make && make DESTDIR=$$(pwd)/../dest install - oh-installfiles $(PKGS) - oh-installdocs alsa-utils - oh-gencontrol $(PKGS) - oh-buildopk $(PKGS) - touch alsa-utils.buildstamp + --disable-alsaconf + oh-autobuild + touch $@ + +install: build + oh-autoinstall + oh-fixperms + oh-strip + oh-installfiles |