summaryrefslogtreecommitdiffstats
path: root/build
blob: 022d866af4cf088f5d5a3e01c786763c0a7d916f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/make -f

PKGS = libasound.2 libasound.2-dbg libasound.2-dev libasound.2-doc

$(PKGS): libasound.buildstamp

.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