opkg_defines.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* opkg_defines.h - the opkg package management system
  2. Copyright (C) 2008 OpenMoko Inc
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License as
  5. published by the Free Software Foundation; either version 2, or (at
  6. your option) any later version.
  7. This program is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. General Public License for more details.
  11. */
  12. #ifndef OPKG_DEFINES_H
  13. #define OPKG_DEFINES_H
  14. #define OPKG_PKG_EXTENSION ".opk"
  15. #define IPKG_PKG_EXTENSION ".ipk"
  16. #define DPKG_PKG_EXTENSION ".deb"
  17. #define OPKG_LEGAL_PKG_NAME_CHARS "abcdefghijklmnopqrstuvwxyz0123456789.+-"
  18. #define OPKG_PKG_VERSION_SEP_CHAR '_'
  19. #define OPKG_STATE_DIR_PREFIX OPKGLIBDIR"/opkg"
  20. #define OPKG_LISTS_DIR_SUFFIX "lists"
  21. #define OPKG_INFO_DIR_SUFFIX "info"
  22. #define OPKG_STATUS_FILE_SUFFIX "status"
  23. #define OPKG_BACKUP_SUFFIX "-opkg.backup"
  24. #define OPKG_LIST_DESCRIPTION_LENGTH 128
  25. #endif /* OPKG_DEFINES_H */