3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=f77f60e8be0cae1f814cba1ef61bf4d0
10 PKG_SOURCE_URL
:=@SF
/deco
11 PKG_SOURCE
:=$(PKG_NAME
)$(PKG_VERSION
).tgz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,DECO
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS)" \
24 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
25 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
35 --datadir=/usr
/share \
36 --includedir=/usr
/include \
37 --infodir=/usr
/share
/info \
39 --libexecdir
=/usr
/lib \
40 --localstatedir
=/var \
41 --mandir=/usr
/share
/man \
44 $(DISABLE_LARGEFILE
) \
49 $(PKG_BUILD_DIR
)/.built
:
50 $(MAKE
) -C
$(PKG_BUILD_DIR
)
54 install -m0755
-d
$(IDIR_DECO
)/usr
/bin
55 install -m0755
$(PKG_BUILD_DIR
)/deco
$(IDIR_DECO
)/usr
/bin
/deco
56 install -m0755
-d
$(IDIR_DECO
)/usr
/lib
/deco
57 install -m0644
$(PKG_BUILD_DIR
)/profile
$(IDIR_DECO
)/usr
/lib
/deco
/profile
58 install -m0644
$(PKG_BUILD_DIR
)/menu
$(IDIR_DECO
)/usr
/lib
/deco
/menu
59 $(RSTRIP
) $(IDIR_DECO
)
60 $(IPKG_BUILD
) $(IDIR_DECO
) $(PACKAGE_DIR
)