2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 phorcys@126.com. All rights reserved.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= shairplay
19 COMPONENT_VERSION
= 1.0.0
21 COMPONENT_FMRI
= library
/audio
/shairplay
22 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
23 COMPONENT_PROJECT_URL
= https
://github.com
/juhovh
/shairplay
24 COMPONENT_SUMMARY
= Free portable AirPlay server implementation similar to ShairPort.
25 COMPONENT_SRC_VERSION
= ce80e005908f41d0e6fde1c4a21e9cb8ee54007b
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_SRC_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= \
29 sha256
:49ac0e0470ec6367f720c7b79a09165138f57b60f5949a2d9c38be5823d13294
30 COMPONENT_ARCHIVE_URL
= \
31 https
://github.com
/juhovh
/shairplay
/archive
/$(COMPONENT_SRC_VERSION
).
tar.gz
32 COMPONENT_LICENSE
= MIT
34 include $(WS_TOP
)/make-rules
/prep.mk
35 include $(WS_TOP
)/make-rules
/configure.mk
36 include $(WS_TOP
)/make-rules
/ips.mk
38 COMPONENT_PREP_ACTION
= \
39 ( cd
$(COMPONENT_DIR
)/$(COMPONENT_SRC
) && sh autogen.sh
)
41 COMPONENT_POST_INSTALL_ACTION
= \
42 ( $(GSED
) -e
"s:%LIBDIR%:$(CONFIGURE_LIBDIR.$(BITS)):g" \
43 -e
"s:%VERSION%:$(COMPONENT_VERSION):g" \
44 $(SOURCE_DIR
)/shairplay.
pc > $(BUILD_DIR
)/shairplay.
pc.
$(BITS
) )
46 CONFIGURE_OPTIONS
+= --disable-static
48 build
: $(BUILD_32_and_64
)
50 install: $(INSTALL_32_and_64
)
54 REQUIRED_PACKAGES
+= system
/library