3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=79b7cdaeca3d8ebafa764c4b0dd03ab7
9 PKG_SOURCE_URL
:=@GNU
/macchanger
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,MACCHANGER
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS)" \
25 --target
=$(GNU_TARGET_NAME
) \
26 --host
=$(GNU_TARGET_NAME
) \
27 --build
=$(GNU_HOST_NAME
) \
32 --libexecdir
=/usr
/lib \
34 --datadir=/usr
/share \
35 --localstatedir
=/var \
44 $(PKG_BUILD_DIR
)/.built
:
45 $(MAKE
) DESTDIR
=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) install
49 mkdir
-p
$(IDIR_MACCHANGER
)
50 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_MACCHANGER
)/
51 $(RSTRIP
) $(IDIR_MACCHANGER
)
52 $(IPKG_BUILD
) $(IDIR_MACCHANGER
) $(PACKAGE_DIR
)