Changeset 7968


Ignore:
Timestamp:
2007-07-13T16:12:55+02:00 (11 years ago)
Author:
pavlov
Message:

make it so you can install 'file' itself rather than just the library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/file/Makefile

    r6500 r7968  
    2727  CATEGORY:=Libraries 
    2828  DEPENDS:=+zlib 
     29  TITLE:=File type determination library 
     30  URL:=ftp://ftp.astron.com/pub/file/ 
     31endef 
     32 
     33define Package/file 
     34  SECTION:=utils 
     35  CATEGORY:=Utilities 
     36  DEPENDS:=+libmagic 
    2937  TITLE:=File type determination library 
    3038  URL:=ftp://ftp.astron.com/pub/file/ 
     
    6573endef 
    6674 
     75define Package/file/install 
     76        $(INSTALL_DIR) $(1)/usr/bin 
     77        $(INSTALL_DIR) $(1)/usr/share/file 
     78        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/file \ 
     79                $(1)/usr/bin 
     80        $(INSTALL_DATA) $(PKG_BUILD_DIR)/magic/Magdir/linux \ 
     81                $(1)/usr/share/file/magic 
     82endef 
     83 
    6784$(eval $(call BuildPackage,libmagic)) 
     85$(eval $(call BuildPackage,file)) 
Note: See TracChangeset for help on using the changeset viewer.