freewrt_1_0
freewrt_2_0
|
Last change
on this file since ca629a6 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100755
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= vgp
|
|---|
| 10 | PKG_VERSION:= 0.2.1
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= b8c25b5dfcb944f78bbc584be9c230c7
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://vgpd.freaknet.org/files/
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,VGP,vgp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | (cd $(WRKBUILD); rm -rf config.cache; \
|
|---|
| 23 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 24 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 25 | ./configure \
|
|---|
| 26 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 27 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 28 | --build=$(GNU_HOST_NAME) \
|
|---|
| 29 | --prefix=/usr \
|
|---|
| 30 | --exec-prefix=/usr \
|
|---|
| 31 | --bindir=/usr/bin \
|
|---|
| 32 | --sbindir=/usr/sbin \
|
|---|
| 33 | --libexecdir=/usr/lib \
|
|---|
| 34 | --sysconfdir=/etc \
|
|---|
| 35 | --datadir=/usr/share \
|
|---|
| 36 | --localstatedir=/var \
|
|---|
| 37 | --mandir=/usr/man \
|
|---|
| 38 | --infodir=/usr/info \
|
|---|
| 39 | --program-prefix="" \
|
|---|
| 40 | );
|
|---|
| 41 | touch $@
|
|---|
| 42 |
|
|---|
| 43 | $(WRKBUILD)/.built:
|
|---|
| 44 | $(MAKE) DESTDIR=$(WRKINST) -C $(WRKBUILD) install
|
|---|
| 45 | touch $@
|
|---|
| 46 |
|
|---|
| 47 | $(IPKG_VGP):
|
|---|
| 48 | mkdir -p $(IDIR_VGP)
|
|---|
| 49 | $(CP) $(WRKINST)/* $(IDIR_VGP)/
|
|---|
| 50 | $(RSTRIP) $(IDIR_VGP)
|
|---|
| 51 | $(IPKG_BUILD) $(IDIR_VGP) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.