freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 2749 2005-12-21 13:35:15Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=deco
|
|---|
| 6 | PKG_VERSION:=39
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=@SF/deco
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz
|
|---|
| 12 |
|
|---|
| 13 | WRKSRC:=${WRKDIR}/$(PKG_NAME)$(PKG_VERSION)
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/package/rules.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,DECO,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured:
|
|---|
| 20 | (cd $(WRKBUILD); \
|
|---|
| 21 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 22 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 23 | CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
|---|
| 24 | LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
|---|
| 25 | ./configure \
|
|---|
| 26 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 27 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 28 | --build=$(GNU_HOST_NAME) \
|
|---|
| 29 | --program-prefix="" \
|
|---|
| 30 | --program-suffix="" \
|
|---|
| 31 | --prefix=/usr \
|
|---|
| 32 | --exec-prefix=/usr \
|
|---|
| 33 | --bindir=/usr/bin \
|
|---|
| 34 | --datadir=/usr/share \
|
|---|
| 35 | --includedir=/usr/include \
|
|---|
| 36 | --infodir=/usr/share/info \
|
|---|
| 37 | --libdir=/usr/lib \
|
|---|
| 38 | --libexecdir=/usr/lib \
|
|---|
| 39 | --localstatedir=/var \
|
|---|
| 40 | --mandir=/usr/share/man \
|
|---|
| 41 | --sbindir=/usr/sbin \
|
|---|
| 42 | --sysconfdir=/etc \
|
|---|
| 43 | --enable-largefile \
|
|---|
| 44 | --disable-nls \
|
|---|
| 45 | );
|
|---|
| 46 | touch $@
|
|---|
| 47 |
|
|---|
| 48 | $(WRKBUILD)/.built:
|
|---|
| 49 | $(MAKE) -C $(WRKBUILD)
|
|---|
| 50 | touch $@
|
|---|
| 51 |
|
|---|
| 52 | $(IPKG_DECO):
|
|---|
| 53 | install -m0755 -d $(IDIR_DECO)/usr/bin
|
|---|
| 54 | install -m0755 $(WRKBUILD)/deco $(IDIR_DECO)/usr/bin/deco
|
|---|
| 55 | install -m0755 -d $(IDIR_DECO)/usr/lib/deco
|
|---|
| 56 | install -m0644 $(WRKBUILD)/profile $(IDIR_DECO)/usr/lib/deco/profile
|
|---|
| 57 | install -m0644 $(WRKBUILD)/menu $(IDIR_DECO)/usr/lib/deco/menu
|
|---|
| 58 | $(RSTRIP) $(IDIR_DECO)
|
|---|
| 59 | $(IPKG_BUILD) $(IDIR_DECO) $(PACKAGE_DIR)
|
|---|
| 60 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.