Ignore:
Timestamp:
2006-10-30T14:51:50+01:00 (10 years ago)
Author:
nico
Message:

massive Makefile cleanup, add missing 'svn:keywords' property

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tor/Makefile

    r5268 r5348  
    1212PKG_VERSION:=0.1.0.17 
    1313PKG_RELEASE:=1 
    14 PKG_MD5SUM:=83c4afe29fa82473afcb2ec7e17771b9 
    1514 
     15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1616PKG_SOURCE_URL:=http://tor.eff.org/dist/ \ 
    1717        http://ftp.se.linux.org/crypto/tor/ \ 
    1818        http://tor.meulie.net/ 
    19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     19PKG_MD5SUM:=83c4afe29fa82473afcb2ec7e17771b9 
    2020PKG_CAT:=zcat 
    2121 
     
    3030  DEPENDS:=+libevent +libopenssl +libpthread +zlib 
    3131  TITLE:=An anonymous Internet communication system 
    32   DESCRIPTION:=Tor is a toolset for a wide range of organizations and people that want\\\ 
    33   to improve their safety and security on the Internet. Using Tor can\\\ 
    34   help you anonymize web browsing and publishing, instant messaging,\\\ 
    35   IRC, SSH, and more. Tor also provides a platform on which software\\\ 
    36   developers can build new applications with built-in anonymity, safety,\\\ 
    37   and privacy features.\\\ 
     32  DESCRIPTION:=\ 
     33        Tor is a toolset for a wide range of organizations and people that want \\\ 
     34        to improve their safety and security on the Internet. Using Tor can \\\ 
     35        help you anonymize web browsing and publishing, instant messaging, \\\ 
     36        IRC, SSH, and more. Tor also provides a platform on which software \\\ 
     37        developers can build new applications with built-in anonymity, safety, \\\ 
     38        and privacy features. 
    3839  URL:=http://tor.eff.org/ 
    3940endef 
     
    7980 
    8081define Build/Configure 
    81 $(call Build/Configure/Default,--enable-shared \ 
    82                   --disable-static,ac_cv_libevent_normal=yes \ 
     82        $(call Build/Configure/Default,\ 
     83                --with-gnu-ld \ 
     84                , \ 
     85                ac_cv_libevent_normal=yes \ 
    8386                ac_cv_openssldir="$(STAGING_DIR)/usr" \ 
    8487                tor_cv_null_is_zero=yes \ 
    85                 tor_cv_unaligned_ok=yes) 
     88                tor_cv_unaligned_ok=yes \ 
     89        ) 
    8690endef 
    8791 
    8892define Build/Compile 
    89 $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \ 
    90                 all install) 
     93        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     94                DESTDIR="$(PKG_INSTALL_DIR)" \ 
     95                all install 
    9196endef 
    9297 
    9398define Package/tor/install       
     99        install -d -m0755 $(1)/usr/sbin 
     100        $(CP) $(PKG_INSTALL_DIR)/usr/bin/tor $(1)/usr/sbin/ 
    94101        install -d -m0755 $(1)/etc/init.d 
    95102        install -m0755 ./files/tor.init $(1)/etc/init.d/tor 
    96103        install -d -m0755 $(1)/etc/tor 
    97104        install -m0644 ./files/torrc $(1)/etc/tor/torrc 
    98         install -d -m0755 $(1)/usr/sbin 
    99         $(CP) $(PKG_INSTALL_DIR)/usr/bin/tor $(1)/usr/sbin/ 
    100105endef 
    101106 
    102107$(eval $(call BuildPackage,tor)) 
    103  
Note: See TracChangeset for help on using the changeset viewer.