summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild29
1 files changed, 12 insertions, 17 deletions
diff --git a/build b/build
index 5875c3f..f72aa28 100755
--- a/build
+++ b/build
@@ -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