Changeset b9492d5 in freewrt for package/libtasn1
- Timestamp:
- Jan 20, 2007, 10:21:59 PM (19 years ago)
- Children:
- 145c3b8
- Parents:
- de3cb1f5
- File:
-
- 1 edited
-
package/libtasn1/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/libtasn1/Makefile
rde3cb1f5 rb9492d5 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:= libtasn1 … … 11 11 PKG_RELEASE:= 1 12 12 PKG_MD5SUM:= d124b11908cfb88883fe71472c25d53a 13 PKG_SOURCE_URL:= ftp://ftp.gnutls.org/pub/gnutls/libtasn1 \ 14 ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1 \ 15 http://www.mirrors.wiretapped.net/security/network-securitygnutls/libtasn1/ \ 16 ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/libtasn1 \ 17 http://josefsson.org/gnutls/releases/libtasn1 13 18 14 PKG_SOURCE_URL:= ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \ 15 ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ \ 16 http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \ 17 ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/libtasn1/ \ 18 http://josefsson.org/gnutls/releases/libtasn1/ 19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 19 include ${TOPDIR}/mk/package.mk 20 20 21 include $(TOPDIR)/mk/package.mk 21 $(eval $(call PKG_template,LIBTASN1,libtasn1,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 22 22 23 $(eval $(call PKG_template,LIBTASN1,libtasn1,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 23 CONFIGURE_STYLE= gnu 24 BUILD_STYLE= auto 25 INSTALL_STYLE= auto 24 26 25 $(WRKBUILD)/.configured:26 (cd $ (WRKBUILD); rm -rf config.{cache,status}; \27 pre-configure: 28 (cd ${WRKBUILD}; \ 27 29 touch configure.ac ; \ 28 30 touch acinclude.m4 ; \ … … 31 33 touch config.h.in ; \ 32 34 touch configure ; \ 33 $(TARGET_CONFIGURE_OPTS) \34 CFLAGS="$(TARGET_CFLAGS)" \35 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \36 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \37 ./configure \38 --target=$(GNU_TARGET_NAME) \39 --host=$(GNU_TARGET_NAME) \40 --build=$(GNU_HOST_NAME) \41 --program-prefix="" \42 --program-suffix="" \43 --prefix=/usr \44 --exec-prefix=/usr \45 --bindir=/usr/bin \46 --datadir=/usr/share \47 --includedir=/usr/include \48 --infodir=/usr/share/info \49 --libdir=/usr/lib \50 --libexecdir=/usr/lib \51 --localstatedir=/var \52 --mandir=/usr/share/man \53 --sbindir=/usr/sbin \54 --sysconfdir=/etc \55 --disable-nls \56 --enable-shared \57 --enable-static \58 --disable-rpath \59 35 ); 60 touch $@61 36 62 $(WRKBUILD)/.built: 63 rm -rf $(WRKINST) 64 mkdir -p $(WRKINST) 65 $(MAKE) -C $(WRKBUILD) \ 66 DESTDIR="$(WRKINST)" \ 67 all install 68 touch $@ 37 post-install: 38 ${INSTALL_DIR} ${IDIR_LIBTASN1}/usr/lib 39 ${CP} ${WRKINST}/usr/lib/libtasn1.so.* ${IDIR_LIBTASN1}/usr/lib/ 69 40 70 $(IPKG_LIBTASN1): 71 install -m0755 -d $(IDIR_LIBTASN1)/usr/lib 72 $(CP) $(WRKINST)/usr/lib/libtasn1.so.* $(IDIR_LIBTASN1)/usr/lib/ 73 $(RSTRIP) $(IDIR_LIBTASN1) 74 $(IPKG_BUILD) $(IDIR_LIBTASN1) $(PACKAGE_DIR) 75 76 $(STAGING_DIR)/usr/lib/libtasn1.so: $(WRKBUILD)/.built 77 mkdir -p $(STAGING_DIR)/usr/bin 78 $(CP) $(WRKINST)/usr/bin/libtasn1-config $(STAGING_DIR)/usr/bin/ 79 mkdir -p $(STAGING_DIR)/usr/include 80 $(CP) $(WRKINST)/usr/include/libtasn1.h $(STAGING_DIR)/usr/include/ 81 mkdir -p $(STAGING_DIR)/usr/lib 82 $(CP) $(WRKINST)/usr/lib/libtasn1.{a,so*} $(STAGING_DIR)/usr/lib/ 83 mkdir -p $(STAGING_DIR)/usr/share/aclocal 84 $(CP) $(WRKINST)/usr/share/aclocal/libtasn1.m4 $(STAGING_DIR)/usr/share/aclocal/ 85 touch $@ 86 87 install-dev: $(STAGING_DIR)/usr/lib/libtasn1.so 88 89 uninstall-dev: 90 rm -rf \ 91 $(STAGING_DIR)/usr/bin/libtasn1-config \ 92 $(STAGING_DIR)/usr/include/libtasn1.h \ 93 $(STAGING_DIR)/usr/lib/libtasn1.{a,so*} \ 94 $(STAGING_DIR)/usr/share/aclocal/libtasn1.m4 \ 95 96 compile-targets: install-dev 97 clean-targets: uninstall-dev 41 include ${TOPDIR}/mk/pkg-bottom.mk
Note:
See TracChangeset
for help on using the changeset viewer.
