summaryrefslogtreecommitdiffstats
path: root/build
blob: b555d0eea4f416782cccf2dd978521f12e956ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /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} \
		--disable-alsaconf && \
		make && make DESTDIR=$$(pwd)/../dest install
	oh-strip /usr/bin/* /usr/sbin/*
	oh-installfiles $(PKGS)
	oh-installdocs alsa-utils
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch alsa-utils.buildstamp