Changeset 5ae1532 in freewrt
- Timestamp:
- Jan 20, 2007, 5:52:30 PM (19 years ago)
- Children:
- 28bbaa8
- Parents:
- 80eeaab
- File:
-
- 1 edited
-
package/l2tpns/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/l2tpns/Makefile
r80eeaab r5ae1532 5 5 # or at http://www.freewrt.org/licence for details. 6 6 7 include $ (TOPDIR)/rules.mk7 include ${TOPDIR}/rules.mk 8 8 9 9 PKG_NAME:= l2tpns … … 11 11 PKG_RELEASE:= 1 12 12 PKG_MD5SUM:= 2a0ee2a3678160c335f1d68c17c4f871 13 PKG_SOURCE_URL:= @SF/l2tpns 13 14 14 PKG_SOURCE_URL:= @SF/l2tpns 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz 15 include ${TOPDIR}/mk/package.mk 16 16 17 include $(TOPDIR)/mk/package.mk 17 $(eval $(call PKG_template,L2TPNS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 18 18 19 $(eval $(call PKG_template,L2TPNS,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 19 BUILD_FLAGS= auto 20 INSTALL_STYLE= auto 21 XAKE_FLAGS+= OPTIM="${TARGET_CFLAGS}" \ 22 STAGING_DIR=${STAGING_DIR} \ 23 LD="${TARGET_CC}" 20 24 21 $(WRKBUILD)/.configured: 22 touch $@ 23 24 $(WRKBUILD)/.built: 25 $(MAKE) -C $(WRKBUILD) \ 26 CC="$(TARGET_CC)" \ 27 LD="$(TARGET_CC)" \ 28 OPTIM="$(TARGET_CFLAGS)" \ 29 DESTDIR=$(WRKINST) \ 30 STAGING_DIR=$(STAGING_DIR) \ 31 all install 32 touch $@ 33 34 $(IPKG_L2TPNS): 35 install -d -m0755 $(IDIR_L2TPNS)/etc/l2tpns 36 $(CP) $(WRKINST)/etc/l2tpns/* $(IDIR_L2TPNS)/etc/l2tpns/ 37 install -d -m0755 $(IDIR_L2TPNS)/usr/lib/l2tpns 38 $(CP) $(WRKINST)/usr/lib/l2tpns/* $(IDIR_L2TPNS)/usr/lib/l2tpns/ 39 install -d -m0755 $(IDIR_L2TPNS)/usr/sbin 40 $(CP) $(WRKINST)/usr/sbin/* $(IDIR_L2TPNS)/usr/sbin/ 41 $(RSTRIP) $(IDIR_L2TPNS) 42 $(IPKG_BUILD) $(IDIR_L2TPNS) $(PACKAGE_DIR) 25 post-install: 26 ${INSTALL_DIR} ${IDIR_L2TPNS}/etc/l2tpns 27 ${CP} ${WRKINST}/etc/l2tpns/* ${IDIR_L2TPNS}/etc/l2tpns/ 28 ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/lib/l2tpns 29 ${CP} ${WRKINST}/usr/lib/l2tpns/* ${IDIR_L2TPNS}/usr/lib/l2tpns/ 30 ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/sbin 31 ${CP} ${WRKINST}/usr/sbin/* ${IDIR_L2TPNS}/usr/sbin/ 43 32 44 33 include ${TOPDIR}/mk/pkg-bottom.mk
Note:
See TracChangeset
for help on using the changeset viewer.
