1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=79b7cdaeca3d8ebafa764c4b0dd03ab7
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
12 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,MACCHANGER
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
19 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
20 $(TARGET_CONFIGURE_OPTS
) \
21 CFLAGS
="$(TARGET_CFLAGS)" \
23 --target
=$(GNU_TARGET_NAME
) \
24 --host
=$(GNU_TARGET_NAME
) \
25 --build
=$(GNU_HOST_NAME
) \
30 --libexecdir
=/usr
/lib \
32 --datadir=/usr
/share \
33 --localstatedir
=/var \
42 $(PKG_BUILD_DIR
)/.built
:
43 $(MAKE
) DESTDIR
=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) install
47 mkdir
-p
$(IDIR_MACCHANGER
)
48 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_MACCHANGER
)/
49 $(RSTRIP
) $(IDIR_MACCHANGER
)
50 $(IPKG_BUILD
) $(IDIR_MACCHANGER
) $(PACKAGE_DIR
)