Changeset 4a9c09c in freewrt
- Timestamp:
- Jan 11, 2007, 6:29:29 PM (19 years ago)
- Children:
- ec48252
- Parents:
- 40905ed
- File:
-
- 1 edited
-
package/libvorbisidec/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/libvorbisidec/Makefile
r40905ed r4a9c09c 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:= libvorbisidec … … 11 11 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= f4a3f6189984014eddfe880c795d2606 13 14 13 PKG_SOURCE_URL:= http://www.freewrt.org/downloads 15 14 16 include $ (TOPDIR)/mk/package.mk15 include ${TOPDIR}/mk/package.mk 17 16 18 $(eval $(call PKG_template,LIBVORBISIDEC,libvorbisidec,$ (PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))17 $(eval $(call PKG_template,LIBVORBISIDEC,libvorbisidec,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 19 18 20 $(WRKBUILD)/.configured: 21 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \ 22 $(TARGET_CONFIGURE_OPTS) \ 23 CFLAGS="$(strip $(TARGET_CFLAGS))" \ 24 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ 25 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ 26 PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ 27 ./configure \ 28 --target=$(GNU_TARGET_NAME) \ 29 --host=$(GNU_TARGET_NAME) \ 30 --build=$(GNU_HOST_NAME) \ 31 --program-prefix="" \ 32 --program-suffix="" \ 33 --prefix=/usr \ 34 --exec-prefix=/usr \ 35 --bindir=/usr/bin \ 36 --datadir=/usr/share \ 37 --includedir=/usr/include \ 38 --infodir=/usr/share/info \ 39 --libdir=/usr/lib \ 40 --libexecdir=/usr/lib \ 41 --localstatedir=/var \ 42 --mandir=/usr/share/man \ 43 --sbindir=/usr/sbin \ 44 --sysconfdir=/etc \ 45 --disable-nls \ 46 --enable-shared \ 47 --enable-static \ 48 --disable-rpath \ 49 --with-gnu-ld \ 50 ); 51 touch $@ 19 CONFIGURE_STYLE= gnu 20 BUILD_STYLE= auto 21 INSTALL_STYLE= auto 52 22 53 $(WRKBUILD)/.built: 54 rm -rf $(WRKINST) 55 mkdir -p $(WRKINST) 56 $(MAKE) -C $(WRKBUILD) \ 57 DESTDIR="$(WRKINST)" \ 58 all install 59 touch $@ 60 61 $(IPKG_LIBVORBISIDEC): 62 install -m0755 -d $(IDIR_LIBVORBISIDEC)/usr/lib 63 $(CP) $(WRKINST)/usr/lib/libvorbisidec.so.* $(IDIR_LIBVORBISIDEC)/usr/lib/ 64 $(RSTRIP) $(IDIR_LIBVORBISIDEC) 65 $(IPKG_BUILD) $(IDIR_LIBVORBISIDEC) $(PACKAGE_DIR) 66 67 $(STAGING_DIR)/usr/lib/libvorbisidec.so: $(WRKBUILD)/.built 68 mkdir -p $(STAGING_DIR)/usr/include 69 $(CP) $(WRKINST)/usr/include/tremor $(STAGING_DIR)/usr/include/ 70 mkdir -p $(STAGING_DIR)/usr/lib 71 $(CP) $(WRKINST)/usr/lib/libvorbisidec.a $(STAGING_DIR)/usr/lib/ 72 $(CP) $(WRKINST)/usr/lib/libvorbisidec.so* $(STAGING_DIR)/usr/lib/ 73 touch $@ 74 75 install-dev: $(STAGING_DIR)/usr/lib/libvorbisidec.so 76 77 uninstall-dev: 78 rm -rf \ 79 $(STAGING_DIR)/usr/include/tremor \ 80 $(STAGING_DIR)/usr/lib/libvorbisidec.a \ 81 $(STAGING_DIR)/usr/lib/libvorbisidec.so* \ 82 83 compile-targets: install-dev 84 clean-targets: uninstall-dev 23 post-install: 24 ${INSTALL_DIR} ${IDIR_LIBVORBISIDEC}/usr/lib 25 ${CP} ${WRKINST}/usr/lib/libvorbisidec.so.* ${IDIR_LIBVORBISIDEC}/usr/lib/ 85 26 86 27 include ${TOPDIR}/mk/pkg-bottom.mk
Note:
See TracChangeset
for help on using the changeset viewer.
