3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=27a362ba5ad3025d5bca6d9c92196875
10 PKG_SOURCE_URL
:=http
://www.hostintegrity.com
/osiris
/data
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,OSIRISD
,osirisd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 (cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
} ; \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS)" \
25 CPPFLAGS
="-I$(STAGING_DIR)/usr/include" \
26 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
27 ac_cv_openssldir
="$(STAGING_DIR)/usr" \
28 ac_cv_have_accrights_in_msghdr
=no \
29 ac_cv_have_control_in_msghdr
=yes \
31 --target
=$(GNU_TARGET_NAME
) \
32 --host
=$(GNU_TARGET_NAME
) \
33 --build
=$(GNU_HOST_NAME
) \
39 --datadir=/usr
/share \
40 --includedir=/usr
/include \
41 --infodir=/usr
/share
/info \
43 --libexecdir
=/usr
/lib \
44 --localstatedir
=/var \
45 --mandir=/usr
/share
/man \
48 $(DISABLE_LARGEFILE
) \
50 --with-osiris-user
=root \
51 --with-root-dir
=/var
/lib
/osiris \
55 $(PKG_BUILD_DIR
)/.built
:
56 rm -rf
$(PKG_INSTALL_DIR
)
57 mkdir
-p
$(PKG_INSTALL_DIR
)
58 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
59 DESTDIR
="$(PKG_INSTALL_DIR)" \
65 install -d
-m0755
$(IDIR_OSIRISD
)/etc
/init.d
66 install -m0755 .
/files
/osirisd.init
$(IDIR_OSIRISD
)/etc
/init.d
/osirisd
67 install -d
-m0755
$(IDIR_OSIRISD
)/usr
/sbin
68 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/sbin
/osirisd
$(IDIR_OSIRISD
)/usr
/sbin
/
69 $(RSTRIP
) $(IDIR_OSIRISD
)
70 $(IPKG_BUILD
) $(IDIR_OSIRISD
) $(PACKAGE_DIR
)