File: rules

package info (click to toggle)
libmp3tag-ruby 1.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 76 kB
  • ctags: 52
  • sloc: ruby: 352; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk

CUR_RUBYVER=$(subst libmp3tag-ruby,,$(cdbs_curpkg))
CUR_PKGDIR=$(CURDIR)/debian/$(cdbs_curpkg)
CUR_RUBYLIBDIR=$(shell ruby$(CUR_RUBYVER) -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')

$(patsubst %,install/%,$(DEB_ALL_PACKAGES))::
	install -D -m 0644 mp3tag.rb $(CUR_PKGDIR)/$(CUR_RUBYLIBDIR)/mp3tag.rb