1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=f77f60e8be0cae1f814cba1ef61bf4d0
8 PKG_SOURCE_URL
:=@SF
/deco
9 PKG_SOURCE
:=$(PKG_NAME
)$(PKG_VERSION
).tgz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)$(PKG_VERSION
)
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,DECO
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
19 (cd
$(PKG_BUILD_DIR
); \
20 $(TARGET_CONFIGURE_OPTS
) \
21 CFLAGS
="$(TARGET_CFLAGS)" \
22 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
23 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
25 --target
=$(GNU_TARGET_NAME
) \
26 --host
=$(GNU_TARGET_NAME
) \
27 --build
=$(GNU_HOST_NAME
) \
33 --datadir=/usr
/share \
34 --includedir=/usr
/include \
35 --infodir=/usr
/share
/info \
37 --libexecdir
=/usr
/lib \
38 --localstatedir
=/var \
39 --mandir=/usr
/share
/man \
42 $(DISABLE_LARGEFILE
) \
47 $(PKG_BUILD_DIR
)/.built
:
48 $(MAKE
) -C
$(PKG_BUILD_DIR
)
52 install -m0755
-d
$(IDIR_DECO
)/usr
/bin
53 install -m0755
$(PKG_BUILD_DIR
)/deco
$(IDIR_DECO
)/usr
/bin
/deco
54 install -m0755
-d
$(IDIR_DECO
)/usr
/lib
/deco
55 install -m0644
$(PKG_BUILD_DIR
)/profile
$(IDIR_DECO
)/usr
/lib
/deco
/profile
56 install -m0644
$(PKG_BUILD_DIR
)/menu
$(IDIR_DECO
)/usr
/lib
/deco
/menu
57 $(RSTRIP
) $(IDIR_DECO
)
58 $(IPKG_BUILD
) $(IDIR_DECO
) $(PACKAGE_DIR
)